Proffer: Stop Action Controller Exposing Instance Variables to Views
1–3 of 3 posts
Re: Proffer: Stop Action Controller Exposing Instance Variables to Views
#2Would like to see this functionality merged into Gon, https://github.com/gazay/gon. (and maybe Rails core someday).
Re: Proffer: Stop Action Controller Exposing Instance Variables to Views
#3It's already possible to write templates this way.
render 'template', :locals => {:wombat => 'foo'}