1
0
Fork 0

Clean up title

This commit is contained in:
Andrew Tomaka 2015-10-08 21:52:03 -04:00
parent a477d5b969
commit 90ebcdf06b
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ module ApplicationHelper
end
def page_title
"#{controller_name.capitalize}: #{action_name.capitalize}"
controller_name.to_s.humanize.titleize
end
private

View file

@ -4,7 +4,7 @@ html
meta charset="utf-8"
meta http-equiv="X-UA-Compatible" content="IE=edge"
meta name="viewport" content="width=device-width, initial-scale=1"
title DBZDokkan
title= "DBZDokkan - #{page_title}"
= stylesheet_link_tag 'application', media: 'all'
= javascript_include_tag 'application'
= csrf_meta_tags