@@ -88,7 +88,7 module Engines | |||
|
88 | 88 | def add_plugin_view_paths |
|
89 | 89 | view_path = File.join(directory, 'app', 'views') |
|
90 | 90 | if File.exist?(view_path) |
|
91 |
ActionController::Base.view_path |
|
|
91 | ActionController::Base.prepend_view_path(view_path) # push it just underneath the app | |
|
92 | 92 | ActionView::TemplateFinder.process_view_paths(view_path) |
|
93 | 93 | end |
|
94 | 94 | end |
General Comments 0
You need to be logged in to leave comments.
Login now