Clean up title
This commit is contained in:
parent
a477d5b969
commit
90ebcdf06b
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ module ApplicationHelper
|
|||
end
|
||||
|
||||
def page_title
|
||||
"#{controller_name.capitalize}: #{action_name.capitalize}"
|
||||
controller_name.to_s.humanize.titleize
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue