module PunditErrorHandling
Handling for any Pundit-thrown errors
Protected Instance Methods
authentication_failed_redirect_path_for(_resource)
click to toggle source
redirect path for failed authentication attempts
# File lib/generators/rockstart/authorization/pundit/templates/app/controllers/concerns/pundit_error_handling.rb, line 14 def authentication_failed_redirect_path_for(_resource) after_sign_in_path_for(current_user) end