layouts don't really behave well with inheritance.

http://dev.rubyonrails.org/search?q=layout+inherit&wiki=on&changeset=on&ticket=on

On 8/19/07, pedz <[EMAIL PROTECTED]> wrote:
>
> According to "Ruby On Rails", the layout call is suppose to be
> inherited:  (page 508)
>
> "Subclasses of a controller will use the parent's layout unless they
> override it using the layout directive"
>
> I have a case where this is not working.  I have not spent time to
> concoct a stand alone test.  I wanted to verify that David's book is
> correct first.
>
> Can someone voice an opinion if it should or should not be inherited
> by subclasses of the controller?
>
> Thanks,
> Perry
>
>
> >
>


-- 
Cheers!
- Pratik
http://m.onkey.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to