aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/abstract_controller')
-rw-r--r--actionpack/lib/abstract_controller/rendering.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/lib/abstract_controller/rendering.rb b/actionpack/lib/abstract_controller/rendering.rb
index 93ded404d6..5a5c47eb3b 100644
--- a/actionpack/lib/abstract_controller/rendering.rb
+++ b/actionpack/lib/abstract_controller/rendering.rb
@@ -47,6 +47,11 @@ module AbstractController
def render(*args, &block)
end
+ # Return Content-Type of rendered content
+ # :api: public
+ def rendered_format
+ end
+
# This method should return a hash with assigns.
# You can overwrite this configuration per controller.
# :api: public