Adding preview environment

This commit is contained in:
Godwin
2015-05-02 17:41:41 -07:00
parent 98b3013e3e
commit d151e37e2e
5 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -511,7 +511,7 @@ module ApplicationHelper
end
def is_production?
Rails.env == 'production'
Rails.env == 'production' || Rails.env == 'preview'
end
def is_test?