How to know in the layout what view was rendered?

Hi,

Is a way to know in the layout what view was rendered?


Edgar González González
E-mail: [email protected]

I’m not sure whether this is what you mean, but you can access
params[:action] from the layout.

Ross

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