HAML Folder in Views

haml, ruby, rubygems, sinatra

Solution

Try with

haml :'get_started/step_1'

Problem

I was wondering if anyone knew how to render a .haml template from a folder within the views folder. My directory setup is: ``` -Views (Folder) -Get_Started (Folder) -step_1.haml -index.haml ``` I would like to render step_1.haml but when i try: ``` haml :get_started/step_1 ``` it doesn't work, I get a blank page. Any suggestions? I could have sworn i've seen how to do this somewhere but i cannot remember where.

Original source