method

ensure_only_path_option

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: RoutingUrlFor
ensure_only_path_option(options) private

No documentation

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

Hide source
# File actionview/lib/action_view/routing_url_for.rb, line 140
      def ensure_only_path_option(options)
        unless options.key?(:only_path)
          options[:only_path] = _generate_paths_by_default unless options[:host]
        end
      end
Register or log in to add new notes.