module ActionController

Public Class Methods

add_renderer(key, &block) Show source
# File actionpack/lib/action_controller/metal/renderers.rb, line 5
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 10
def self.remove_renderer(key)
  Renderers.remove(key)
end

See Renderers.remove

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