Rails: it's a good ideia to store the view in a global var?
Posted
by Totty
on Stack Overflow
See other posts from Stack Overflow
or by Totty
Published on 2010-05-27T18:04:41Z
Indexed on
2010/05/27
18:11 UTC
Read the original article
Hit count: 118
ruby-on-rails
|ruby
Im thinking of storing the view, what i mean by view is like this: app/views/profiles/index.html.haml into this i would do $view = self
then in other parts of my app i would use and edit the $view var.
it might get troubles?
© Stack Overflow or respective owner