changed registrant whois ability

This commit is contained in:
Priit Tark 2015-05-14 23:54:32 +03:00
parent 0ddd2b6f32
commit fc53f173d9
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
class Registrant::WhoisController < RegistrantController
def index
authorize! :view, Registrant::Whois
authorize! :view, :registrant_whois
end
end

View file

@ -65,7 +65,7 @@ class Ability
end
def registrant
can :manage, Registrant::Whois
can :manage, :registrant_whois
end
def user