#465: Fixed: Pundit::AuthorizationNotPerformedError
This commit is contained in:
parent
08db1ad59a
commit
b93f40a154
|
@ -1,5 +1,6 @@
|
||||||
class Users::UsersController < Users::BaseController
|
class Users::UsersController < Users::BaseController
|
||||||
skip_before_action :authenticate_user!, only: [:allowed, :check, :discover]
|
skip_before_action :authenticate_user!, only: [:allowed, :check, :discover]
|
||||||
|
skip_after_action :verify_authorized
|
||||||
before_action :find_user_by_key, only: [:allowed, :discover]
|
before_action :find_user_by_key, only: [:allowed, :discover]
|
||||||
|
|
||||||
def allowed
|
def allowed
|
||||||
|
|
Loading…
Reference in New Issue