Displaying 1 result from an estimated 1 matches for "otherward".
Did you mean:
otherwards
2006 May 10
3
Action Variables Not Available In The View For A Specific Action
I am setting an action variable in my PagesController such as:
def manage
render(:layout => "admin")
@strOut = "STRING Variable Set From The MANAGE Action!"
end
And in the /views/pages/manage.rhtml view, I don?t have access to that
@strOut variable by trying to call it as: <%= @strOut %>
However, I am setting the same variable in another action in the controller