From ca11cd2dff2f4cd95a24ec527046a4e9b36e73bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Strza=C5=82kowski?= Date: Thu, 22 Aug 2013 11:41:26 +0200 Subject: Fix formatting of error message Make it oneliner --- actionpack/lib/action_controller/metal/rendering.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'actionpack/lib/action_controller/metal') 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 -- cgit v1.2.3