summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vendor/plugins/engines/lib/engines/plugin.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/plugins/engines/lib/engines/plugin.rb b/vendor/plugins/engines/lib/engines/plugin.rb
index 995a0f099..488bcd4bc 100644
--- a/vendor/plugins/engines/lib/engines/plugin.rb
+++ b/vendor/plugins/engines/lib/engines/plugin.rb
@@ -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