Page_title_helper is a project mainly written in ..., based on the MIT license.
Very simple rails plugin to generate localized page titles.
h1. PageTitleHelper
PageTitleHelper is a very very simple helper which provides two helper methods for setting page titles. It supports localized titles.
h2. Example
In the view layout (e.g. @application.html.erb@ for instance):
... <%= site_title "MySite" %> ...
In a view, the title helper takes a parameter which can be either a String or a Symbol. In case of a Symbol, its value is sent first to @I18n.t@ to be translated. In all cases, the page title is added to the @
... <%= title "Welcome !" %> ...
h3. Installation
rails install git://github.com/clarif/page_title_helper.git
Copyright (c) 2011 Fabrice Clari, released under the MIT license