Adding preview environment
This commit is contained in:
@@ -511,7 +511,7 @@ module ApplicationHelper
|
||||
end
|
||||
|
||||
def is_production?
|
||||
Rails.env == 'production'
|
||||
Rails.env == 'production' || Rails.env == 'preview'
|
||||
end
|
||||
|
||||
def is_test?
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
class Translation < I18n::Backend::ActiveRecord::Translation
|
||||
has_paper_trail
|
||||
end
|
||||
Reference in New Issue
Block a user