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
layout.

Any ideas?

David

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