diff options
author | Stevie Graham <sjtgraham@mac.com> | 2014-04-20 21:46:19 +0100 |
---|---|---|
committer | Stevie Graham <sjtgraham@mac.com> | 2014-04-20 21:46:19 +0100 |
commit | 7fb0d21a3b91bbabd39eeb8ba6fd28733ab925db (patch) | |
tree | 0e151f391d493a04b6bf35343eb5a02d1a814661 /actionpack/lib/action_controller | |
parent | 50b849c7e0ed04d0917f94ac9524b8c25103eee8 (diff) | |
download | rails-7fb0d21a3b91bbabd39eeb8ba6fd28733ab925db.tar.gz rails-7fb0d21a3b91bbabd39eeb8ba6fd28733ab925db.tar.bz2 rails-7fb0d21a3b91bbabd39eeb8ba6fd28733ab925db.zip |
ActionController::Renderers documentation fix
ActionController::Renderers::RENDERERS is an instance of Set. Docs incorrectly
state that it's a Hash.
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/metal/renderers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/renderers.rb b/actionpack/lib/action_controller/metal/renderers.rb index 6c7b4652d4..0443b73953 100644 --- a/actionpack/lib/action_controller/metal/renderers.rb +++ b/actionpack/lib/action_controller/metal/renderers.rb @@ -42,8 +42,8 @@ module ActionController nil end - # Hash of available renderers, mapping a renderer name to its proc. - # Default keys are <tt>:json</tt>, <tt>:js</tt>, <tt>:xml</tt>. + # A Set containing renderer names that correspond to available renderer procs. + # Default values are <tt>:json</tt>, <tt>:js</tt>, <tt>:xml</tt>. RENDERERS = Set.new # Adds a new renderer to call within controller actions. |