Thanks, I will work on this idea.
Op maandag 14 juli 2014 19:43:31 UTC+2 schreef Eric Saupe:
>
> Because you have /layouts inside of /welcome it would need to be <%=
> render 'welcome/layouts/login' %> and I think you'll also need an
> underscore before login.html.haml to make it _login.html.haml because it's
> a partial.
>
> On Sunday, July 13, 2014 5:45:39 AM UTC-6, Roelof Wobben wrote:
>>
>> Hello,
>>
>> I have this directory layout.
>>
>> app/views
>>
>> - welcome
>> index.html.haml
>> --- layouts
>> -- login.html.haml
>>
>> So to use the login.html.haml I thought this would work.
>>
>> Contents of welcome/index.html
>>
>> = render 'layouts/login'
>>
>> But still I see a template missing error message.
>>
>> How to solve this ?
>>
>> Roelof
>>
>>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/015ee3ac-75ea-41f5-93b4-560eadc685a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.