Merge branch 'ticket/master/298-separate-plugin-path'

This commit is contained in:
Eric Davis 2011-12-09 13:43:21 -08:00
commit 94f7bef2c6
2 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,9 @@ Rails::Initializer.run do |config|
# It will automatically turn deliveries on
config.action_mailer.perform_deliveries = false
# Insert vendor/chiliproject_plugins at the top of the plugin load paths
config.plugin_paths.insert(0, File.join(Rails.root, "vendor", "chiliproject_plugins"))
# Use redmine's custom plugin locater
require File.join(RAILS_ROOT, "lib/redmine_plugin_locator")
config.plugin_locators << RedminePluginLocator

1
vendor/chiliproject_plugins/README vendored Normal file
View File

@ -0,0 +1 @@
Install ChiliProject plugins here and they will be automatically loaded.