[#298] Add vendor/chiliproject_plugins to the load path
Contributed by Holger Just
This commit is contained in:
parent
489566a39e
commit
13250b7223
|
@ -63,6 +63,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