Skip to content

Commit

Permalink
Remove obsolete reader from AC::MethodNotAllowed exception class
Browse files Browse the repository at this point in the history
  • Loading branch information
avakhov committed Mar 30, 2012
1 parent c3d482f commit 891392a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions actionpack/lib/action_controller/metal/exceptions.rb
Expand Up @@ -14,8 +14,6 @@ def initialize(message, failures=[])
end

class MethodNotAllowed < ActionControllerError #:nodoc:
attr_reader :allowed_methods

def initialize(*allowed_methods)
super("Only #{allowed_methods.to_sentence(:locale => :en)} requests are allowed.")
end
Expand Down

0 comments on commit 891392a

Please sign in to comment.