Add message for non-production envs

This commit is contained in:
Ari Timonen 2020-03-26 03:52:05 +02:00
parent 533be0af2c
commit 8c21aef762

View file

@ -1,6 +1,7 @@
module ApplicationHelper
def full_title(page_title)
base_title = "NSL"
base_title << " " + Rails.env.upcase unless Rails.env.production?
if page_title.empty?
base_title