refacto: rename administration to super_admin

This commit is contained in:
Christophe Robillard 2020-11-05 15:09:11 +01:00
parent a88172eb01
commit 5562e65bf3
39 changed files with 180 additions and 175 deletions

View file

@ -0,0 +1,6 @@
class Administrations::PasswordsController < Devise::PasswordsController
def update
super
self.resource.disable_otp!
end
end

View file

@ -0,0 +1,2 @@
class Administrations::SessionsController < Devise::SessionsController
end