module RailsViewsPath::AddViewsPath

Public Instance Methods

add_views_path(path) click to toggle source
# File lib/rails_views_path/add_views_path.rb, line 3
def add_views_path(path)
  before_filter do
    lookup_context.prefixes << path
  end
end