detect staging env
This commit is contained in:
parent
db7603efb7
commit
83cf0fa903
4 changed files with 6 additions and 8 deletions
|
@ -110,7 +110,7 @@ module ApplicationHelper
|
|||
end
|
||||
|
||||
def staging?
|
||||
ENV['APP_NAME'] == 'tps_dev'
|
||||
Rails.application.config.ds_env == 'staging'
|
||||
end
|
||||
|
||||
def contact_link(title, options = {})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue