diff options
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index d25b12998..14c7447c0 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -18,4 +18,8 @@ module ApplicationHelper env_suffix = Rails.env.production? ? '' : '-dev' asset_path "favicon#{env_suffix}.ico" end + + def title + Rails.env.production? ? site_title : "#{site_title} (Dev)" + end end |