Because it is a subtemplate - or partial - you need a leading underscore on its filename.
:brad On Jun 23, 2009, at 0:50, Doug <dgoldi...@gmail.com> wrote: > > I just tried to use a subtemplate to render the login view my main > page. > ...both the subtemplate and the current template are haml. > > render "user_session/new" > = render "user_session/new.html" > = render "user_session/new.html.haml" > > I tried all three; it couldn't find any of them. > ex: > Missing template user_session/_new.html.haml in view path app/views > > What am I doing wrong? > ...I'm sure it's silly. > > thanks, > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to haml@googlegroups.com To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---