Layout context

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

Any ideas?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs