README.md in jwt_keeper-5.0.1 vs README.md in jwt_keeper-6.0.0
- old
+ new
@@ -38,9 +38,10 @@
```ruby
class ApplicationController < ActionController::Base
include JWTKeeper::Controller
before_action :require_authentication
+ rescue_from JWTKeeper::NotAuthenticatedError, with: :not_authenticated
def not_authenticated
# Overload to return status 401
end