1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00
danbarberphoto/app/helpers/application_helper.rb
2021-07-16 11:15:26 -05: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