Open rafd opened 15 years ago
also, worth including the 'controller' - 'action' for development purposes at the end of the title... but only when server is set to development mode, use:
if RAILS_ENV.to_s == "development" ...
Might need to create a @title variable that needs to be assigned for every controller action.
...or a universal partial with lots of case statements based on the controller/action ...or partials inside of each view directory
It's a question of "what's easiest to maintain" ... needs some thought. The universal partial may be the quickest to implement for now.
Currently, title is always: Skule.ca : "controller" - "action"
This must be made relevant to the content at hand.
"page/content name" - "originator"
Ex. The Digest - Skule "Page Name" - WebDev