Permalink
Browse files

typo fix

  • Loading branch information...
1 parent 9c86fe7 commit 63ae66420ab65c51921f1e42d169210a243e78a1 @junaid junaid committed Jul 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cancan/exceptions.rb
View
@@ -31,7 +31,7 @@ class ImplementationRemoved < Error; end
class AccessDenied < Error
attr_reader :action, :subject
attr_writer :default_message
- attr_write :default_redirect
+ attr_writer :default_redirect
attr_reader :redirect_url
def initialize(message = nil, action = nil, subject = nil, redirect_url = nil)
@message = message

0 comments on commit 63ae664

Please sign in to comment.