1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00
danbarberphoto/app/helpers/application_helper.rb
2014-12-11 13:16:11 +00:00

10 lines
176 B
Ruby

module ApplicationHelper
def page_title(title)
if title.present?
"#{title} - #{APP_CONFIG['page_title']}"
else
APP_CONFIG['page_title']
end
end
end