Displaying 1 result from an estimated 1 matches for "pagemeta".
2005 Nov 15
3
Defining a variable in the environment and using it in controllers and views
Hi,
I wanted to define a global variable in environment.rb like this:
@pagemeta = {:title => ''Default page title'',
:description => ''Default page description'',
:keywords => ''Default page keywords''}
And then, in a controller, override one or several of its values (like
@pagemeta[:...