class method self.view_paths

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

self.view_paths()

View load paths determine the bases from which template references can be made. So a call to render(“test/template”) will be looked up in the view load paths array and the closest match will be returned.

Source
# File actionpack/lib/action_controller/base.rb, line 424
      def view_paths
        if defined? @view_paths
          @view_paths
        else
          superclass.view_paths
        end
      end

Defined in actionpack/lib/action_controller/base.rb line 424 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Base

Type at least 2 characters to search.

↑↓ navigate · open · esc close