Merge branch 'ticket/master/298-separate-plugin-path'
This commit is contained in:
commit
94f7bef2c6
|
@ -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
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Install ChiliProject plugins here and they will be automatically loaded.
|
Loading…
Reference in New Issue