diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-01-07 07:36:11 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-01-07 07:37:23 +0900 |
commit | 3c21237c37fed9d726bcf2816bf1adc4635f4956 (patch) | |
tree | eafdae1d97c622b5f867acb1eda742f6893cc1dc /actionpack/lib/action_controller/metal | |
parent | c8e632bd9fe246aab16496e87184ace20ab3ce27 (diff) | |
download | rails-3c21237c37fed9d726bcf2816bf1adc4635f4956.tar.gz rails-3c21237c37fed9d726bcf2816bf1adc4635f4956.tar.bz2 rails-3c21237c37fed9d726bcf2816bf1adc4635f4956.zip |
Reduce number of Strings a bit
Diffstat (limited to 'actionpack/lib/action_controller/metal')
-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 6bf306ac5b..e59213806f 100644 --- a/actionpack/lib/action_controller/metal/mime_responds.rb +++ b/actionpack/lib/action_controller/metal/mime_responds.rb @@ -320,7 +320,7 @@ module ActionController #:nodoc: # 2. <tt>:action</tt> - overwrites the default render action used after an # unsuccessful html +post+ request. def respond_with(*resources, &block) - raise "In order to use respond_with, first you need to declare the formats your " << + raise "In order to use respond_with, first you need to declare the formats your " \ "controller responds to in the class level" if self.class.mimes_for_respond_to.empty? if collector = retrieve_collector_from_mimes(&block) |