From c0291490a26e01bf30df17a142c631c1a8ad7d7f Mon Sep 17 00:00:00 2001 From: Ulysse Carion Date: Mon, 11 Nov 2013 09:30:05 -0800 Subject: [PATCH] Fix a broken link in README.md The link to documentation about `rescue_from` used to point to #rescue_from instead of #rescue-from. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 95d0c01..b8ba214 100644 --- a/README.md +++ b/README.md @@ -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