mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 16:53:37 +02:00
Add proper REGISTRY_ENV names: eedirect and admin
This commit is contained in:
parent
7883b3775f
commit
ec776f9d06
3 changed files with 5 additions and 5 deletions
|
@ -9,7 +9,7 @@ class Ability
|
|||
|
||||
if Rails.env.production?
|
||||
case REGISTRY_ENV
|
||||
when :client
|
||||
when :eedirect
|
||||
can :create, :session
|
||||
admin = false
|
||||
when :admin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue