edge badge
Methods
D
M
S
Instance Public methods
default_render(*args)
# File actionpack/lib/action_controller/metal/implicit_render.rb, line 9
def default_render(*args)
  if template_exists?(action_name.to_s, _prefixes, variants: request.variant)
    render(*args)
  else
    logger.info "No template found for #{self.class.name}\##{action_name}, rendering head :no_content" if logger
    head :no_content
  end
end
method_for_action(action_name)
# File actionpack/lib/action_controller/metal/implicit_render.rb, line 18
def method_for_action(action_name)
  super || if template_exists?(action_name.to_s, _prefixes)
    "default_render"
  end
end
send_action(method, *args)
# File actionpack/lib/action_controller/metal/implicit_render.rb, line 3
def send_action(method, *args)
  ret = super
  default_render unless performed?
  ret
end