mirror of
https://github.com/varvet/pundit.git
synced 2022-11-09 12:30:11 -05:00
Merge pull request #73 from ulyssecarion/master
Fix a broken link in README.md
This commit is contained in:
commit
b2d350f8f7
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ end
|
|||
|
||||
## Rescuing a denied Authorization in Rails
|
||||
|
||||
Pundit raises a `Pundit::NotAuthorizedError` you can [rescue_from](http://guides.rubyonrails.org/action_controller_overview.html#rescue_from) in your `ApplicationController`. You can customize the `user_not_authorized` method in every controller.
|
||||
Pundit raises a `Pundit::NotAuthorizedError` you can [rescue_from](http://guides.rubyonrails.org/action_controller_overview.html#rescue-from) in your `ApplicationController`. You can customize the `user_not_authorized` method in every controller.
|
||||
|
||||
```ruby
|
||||
class ApplicationController < ActionController::Base
|
||||
|
|
Loading…
Reference in a new issue