module ActionController

Public Class Methods

add_renderer(key, &block) Show source
# File actionpack/lib/action_controller/metal/renderers.rb, line 7
def self.add_renderer(key, &block)
  Renderers.add(key, &block)
end

See Renderers.add

remove_renderer(key) Show source
# File actionpack/lib/action_controller/metal/renderers.rb, line 12
def self.remove_renderer(key)
  Renderers.remove(key)
end

See Renderers.remove

© 2004–2019 David Heinemeier Hansson
Licensed under the MIT License.