diff options
author | Alexey Vakhov <vakhov@gmail.com> | 2012-03-31 00:44:27 +0400 |
---|---|---|
committer | Alexey Vakhov <vakhov@gmail.com> | 2012-03-31 00:46:34 +0400 |
commit | 891392a1641e953d851ebc67378d15c4dcddf474 (patch) | |
tree | bf390988cc478df7f29f0ff096b1bf48a3d3dc3f | |
parent | c3d482f0b24dd9cddfbd8ea88976abbcc1e93f85 (diff) | |
download | rails-891392a1641e953d851ebc67378d15c4dcddf474.tar.gz rails-891392a1641e953d851ebc67378d15c4dcddf474.tar.bz2 rails-891392a1641e953d851ebc67378d15c4dcddf474.zip |
Remove obsolete reader from AC::MethodNotAllowed exception class
-rw-r--r-- | actionpack/lib/action_controller/metal/exceptions.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/exceptions.rb b/actionpack/lib/action_controller/metal/exceptions.rb index 505b2ac609..9a9db0fe5f 100644 --- a/actionpack/lib/action_controller/metal/exceptions.rb +++ b/actionpack/lib/action_controller/metal/exceptions.rb @@ -14,8 +14,6 @@ module ActionController 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 |