Permalink
Browse files

Fix typo

  • Loading branch information...
nathanl committed Dec 11, 2012
1 parent 4d8d840 commit e3dabfeade58c573a47f20a69713c77a81225d26
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.markdown
View
@@ -397,7 +397,7 @@ You can define your own `authority_forbidden` method:
```ruby
# Send 'em back where they came from with a slap on the wrist
-def authority_forbidden(exception)
+def authority_forbidden(error)
Authority.logger.warn(error.message)
redirect_to request.referrer.presence || root_path, :alert => 'You are not authorized to complete that action.'
end

0 comments on commit e3dabfe

Please sign in to comment.