instance method only_path?

Ruby on Rails 5.2.8.1

Since v5.2.8.1 Last seen in v5.2.8.1 Private — implementation detail, not part of the public API

Signature

only_path?(host)

No documentation comment.

Parameters

host req
Source
# File actionview/lib/action_view/routing_url_for.rb, line 141
      def only_path?(host)
        _generate_paths_by_default unless host
      end

Defined in actionview/lib/action_view/routing_url_for.rb line 141 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::RoutingUrlFor

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close