1
0
Fork 0

generate dynamic titles temporarily

This commit is contained in:
Andrew Tomaka 2015-10-07 16:28:31 -04:00
parent be4344823a
commit 3e3ce86d16
2 changed files with 5 additions and 0 deletions

View file

@ -20,6 +20,10 @@ module ApplicationHelper
"/auth/#{provider.to_s}"
end
def page_title
"#{controller_name.capitalize}: #{action_name.capitalize}"
end
private
def bootstrap_classes

View file

@ -14,4 +14,5 @@ html
.container
== render 'flash_messages', flash: flash
.container
h1= page_title
= yield