aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorŁukasz Strzałkowski <lukasz.strzalkowski@gmail.com>2013-08-22 11:41:26 +0200
committerŁukasz Strzałkowski <lukasz.strzalkowski@gmail.com>2013-08-25 11:40:11 +0200
commitca11cd2dff2f4cd95a24ec527046a4e9b36e73bc (patch)
tree6e28267e6e0de360789ac540456e871dcb6541c7
parent8c8fb895bbe8e4370922283356f62681170748f4 (diff)
downloadrails-ca11cd2dff2f4cd95a24ec527046a4e9b36e73bc.tar.gz
rails-ca11cd2dff2f4cd95a24ec527046a4e9b36e73bc.tar.bz2
rails-ca11cd2dff2f4cd95a24ec527046a4e9b36e73bc.zip
Fix formatting of error message
Make it oneliner
-rw-r--r--actionpack/lib/action_controller/metal/rendering.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/rendering.rb b/actionpack/lib/action_controller/metal/rendering.rb
index 2fd73c3d64..21224b9c3b 100644
--- a/actionpack/lib/action_controller/metal/rendering.rb
+++ b/actionpack/lib/action_controller/metal/rendering.rb
@@ -26,8 +26,7 @@ module ActionController
class UnsupportedOperationError < StandardError
def initialize
- super "Unsupported render operation. BasicRendering supports only :text
- and :nothing options. For more, you need to include ActionView."
+ super "Unsupported render operation. BasicRendering supports only :text and :nothing options. For more, you need to include ActionView."
end
end
end