Rescue From
class ApplicationController < ActionController::Base
rescue_from User::NotAuthorized do |exception|
# respond with some Not Authorized page
end
...
endLast updated
class ApplicationController < ActionController::Base
rescue_from User::NotAuthorized do |exception|
# respond with some Not Authorized page
end
...
endLast updated