Forum: Ruby on Rails Layout context

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
37c332966b49eeb1d54eeefd3bc5ce97?d=identicon&s=25 David Corbin (Guest)
on 2006-04-08 14:55
(Received via mailing list)
I'd like my layout to be able to tell which view is being rendered.  If
necessary, I'll add code to my ApplicatoinController, but adding
anything to
specific controllers or views defeats the purpose of putting it in a
layout.

Any ideas?

David
This topic is locked and can not be replied to.