instance method build_path

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.0.20 Private

Signature

build_path(name, prefix, partial, details)

No documentation comment.

Parameters

name req
prefix req
partial req
details req
Source
# File actionpack/lib/action_view/template/resolver.rb, line 58
    def build_path(name, prefix, partial, details)
      path = ""
      path << "#{prefix}/" unless prefix.empty?
      path << (partial ? "_#{name}" : name)
      path
    end

Defined in actionpack/lib/action_view/template/resolver.rb line 58 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::PathResolver

Type at least 2 characters to search.

↑↓ navigate · open · esc close