]> git.openstreetmap.org Git - rails.git/blob - app/helpers/title_helper.rb
Revert "Remove unused file"
[rails.git] / app / helpers / title_helper.rb
1 module TitleHelper
2   def set_title(title = false)
3     response.headers["X-Page-Title"] = t('layouts.project_name.title') + (title ? ' | ' + title : '')
4     @title = title
5   end
6 end