Flowdock
method

_normalize_options

Importance_0
v3.0.5 - Show latest stable - 0 notes - Class: AbstractController::Rendering
_normalize_options(options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/abstract_controller/rendering.rb, line 154
    def _normalize_options(options)
      if options[:partial] == true
        options[:partial] = action_name
      end

      if (options.keys & [:partial, :file, :template]).empty?
        options[:prefix] ||= _prefix
      end

      options[:template] ||= (options[:action] || action_name).to_s
      options
    end
Register or log in to add new notes.