method

prepend_view_path

Importance_1
v2.2.1 - Show latest stable - 0 notes - Class: ActionController::Base
prepend_view_path(path) public

Adds a view_path to the front of the view_paths array. This change affects the current request only.

  self.prepend_view_path("views/default")
  self.prepend_view_path(["views/default", "views/custom"])
Show source
Register or log in to add new notes.