mirror of
https://github.com/internetee/registry.git
synced 2025-06-07 21:25:39 +02:00
added customization feature for enable new statuses
This commit is contained in:
parent
ca80846577
commit
00aae6b51f
5 changed files with 20 additions and 5 deletions
6
app/models/feature.rb
Normal file
6
app/models/feature.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
class Feature
|
||||
def self.obj_and_extensions_statuses_enabled?
|
||||
return false if ENV['obj_and_extensions_prohibited'] == 'false'
|
||||
ENV['obj_and_extensions_prohibited'] || false
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue