Module: ActionController::Renderers::ClassMethods
Relationships & Source Files | |
Defined in: | actionpack/lib/action_controller/metal/renderers.rb |
Instance Method Summary
-
#use_renderer(*args)
Alias for #use_renderers.
- #use_renderers(*args) (also: #use_renderer)
Instance Method Details
#use_renderer(*args)
Alias for #use_renderers.
# File 'actionpack/lib/action_controller/metal/renderers.rb', line 33
alias use_renderer use_renderers
#use_renderers(*args) Also known as: #use_renderer
[ GitHub ]# File 'actionpack/lib/action_controller/metal/renderers.rb', line 29
def use_renderers(*args) renderers = _renderers + args self._renderers = renderers.freeze end