aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
authorŁukasz Strzałkowski <lukasz.strzalkowski@gmail.com>2013-09-03 14:58:46 +0200
committerŁukasz Strzałkowski <lukasz.strzalkowski@gmail.com>2013-09-03 14:58:46 +0200
commitd35cf4b6a0645dffb508ae1a5ad10924f7026f0f (patch)
tree063480b44be65481c9f288449428b1722295f2b2 /actionpack/lib/action_controller
parentaea02eb43001d85def0e69dce76fde0757040089 (diff)
downloadrails-d35cf4b6a0645dffb508ae1a5ad10924f7026f0f.tar.gz
rails-d35cf4b6a0645dffb508ae1a5ad10924f7026f0f.tar.bz2
rails-d35cf4b6a0645dffb508ae1a5ad10924f7026f0f.zip
Make Mime::TEXT default format in AbstractController
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r--actionpack/lib/action_controller/metal/rendering.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/metal/rendering.rb b/actionpack/lib/action_controller/metal/rendering.rb
index 21224b9c3b..a853adec23 100644
--- a/actionpack/lib/action_controller/metal/rendering.rb
+++ b/actionpack/lib/action_controller/metal/rendering.rb
@@ -20,10 +20,6 @@ module ActionController
end
end
- def rendered_format
- Mime::TEXT
- end
-
class UnsupportedOperationError < StandardError
def initialize
super "Unsupported render operation. BasicRendering supports only :text and :nothing options. For more, you need to include ActionView."