module ActionController::Compatibility
def _handle_method_missing
def _handle_method_missing method_missing(@_action_name.to_sym) end
def _normalize_options(options)
def _normalize_options(options) if options[:action] && options[:action].to_s.include?(?/) ActiveSupport::Deprecation.warn "Giving a path to render :action is deprecated. " << "Please use render :template instead", caller options[:template] = options.delete(:action) end options[:text] = nil if options.delete(:nothing) == true options[:text] = " " if options.key?(:text) && options[:text].nil? super end
def assign_shortcuts(*) end
def assign_shortcuts(*) end
def initialize_template_class(*) end
def initialize_template_class(*) end
def method_for_action(action_name)
def method_for_action(action_name) super || (respond_to?(:method_missing) && "_handle_method_missing") end
def performed?
def performed? response_body end
def render_to_body(options)
def render_to_body(options) options[:template].sub!(/^\//, '') if options.key?(:template) super || " " end
def rescue_action(env)
def rescue_action(env) raise env["action_dispatch.rescue.exception"] end