mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ActionController::Renderers documentation fix
ActionController::Renderers::RENDERERS is an instance of Set. Docs incorrectly state that it's a Hash.
This commit is contained in:
parent
50b849c7e0
commit
7fb0d21a3b
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue