mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 08:43:37 +02:00
changed registrant whois ability
This commit is contained in:
parent
0ddd2b6f32
commit
fc53f173d9
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
class Registrant::WhoisController < RegistrantController
|
||||
def index
|
||||
authorize! :view, Registrant::Whois
|
||||
authorize! :view, :registrant_whois
|
||||
end
|
||||
end
|
||||
|
|
|
@ -65,7 +65,7 @@ class Ability
|
|||
end
|
||||
|
||||
def registrant
|
||||
can :manage, Registrant::Whois
|
||||
can :manage, :registrant_whois
|
||||
end
|
||||
|
||||
def user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue