diff options
author | Steven Soroka <ssoroka78@gmail.com> | 2012-05-06 00:34:08 -0500 |
---|---|---|
committer | Steven Soroka <ssoroka78@gmail.com> | 2012-05-06 00:34:08 -0500 |
commit | 6471ced656ad0e61f12b2a7d6f51ef5b2408e64a (patch) | |
tree | d79f73c120ec40086b2b6731ebda40e2531a8754 /actionpack/lib | |
parent | ec4045c02fb112937116f827c508c3680a495326 (diff) | |
download | rails-6471ced656ad0e61f12b2a7d6f51ef5b2408e64a.tar.gz rails-6471ced656ad0e61f12b2a7d6f51ef5b2408e64a.tar.bz2 rails-6471ced656ad0e61f12b2a7d6f51ef5b2408e64a.zip |
remove .new from raise ActionController::UnknownFormat
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/metal/mime_responds.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/mime_responds.rb b/actionpack/lib/action_controller/metal/mime_responds.rb index 2c96145820..7917926978 100644 --- a/actionpack/lib/action_controller/metal/mime_responds.rb +++ b/actionpack/lib/action_controller/metal/mime_responds.rb @@ -375,7 +375,7 @@ module ActionController #:nodoc: lookup_context.rendered_format = lookup_context.formats.first collector else - raise ActionController::UnknownFormat.new + raise ActionController::UnknownFormat end end |