Hi,
Is a way to know in the layout what view was rendered?
Hi,
Is a way to know in the layout what view was rendered?
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.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs