Applies r1723 on Engines update to allow view override (#2841).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2525 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-02-26 08:59:30 +00:00
parent 21eb3c089d
commit 46f52d306d
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ module Engines
def add_plugin_view_paths
view_path = File.join(directory, 'app', 'views')
if File.exist?(view_path)
ActionController::Base.view_paths.insert(1, view_path) # push it just underneath the app
ActionController::Base.prepend_view_path(view_path) # push it just underneath the app
end
end