mirror of
https://github.com/redmine/redmine.git
synced 2026-02-05 06:10:06 +01:00
Merged r10304 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.0-stable@10305 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -82,6 +82,7 @@ module Redmine #:nodoc:
|
||||
view_path = File.join(p.directory, 'app', 'views')
|
||||
if File.directory?(view_path)
|
||||
ActionController::Base.prepend_view_path(view_path)
|
||||
ActionMailer::Base.prepend_view_path(view_path)
|
||||
end
|
||||
|
||||
# Adds the app/{controllers,helpers,models} directories of the plugin to the autoload path
|
||||
|
||||
Reference in New Issue
Block a user