projects
/
rails.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' into redesign
[rails.git]
/
app
/
helpers
/
title_helper.rb
1
module TitleHelper
2
def set_title(title = false)
3
if title
4
title = t('layouts.project_name.title') + ' | ' + title
5
else
6
title = t('layouts.project_name.title')
7
end
8
response.headers["X-Page-Title"] = title
9
@title = title
10
end
11
end