Commit 13250b72 authored by Eric Davis's avatar Eric Davis

[#298] Add vendor/chiliproject_plugins to the load path

Contributed by Holger Just
parent 489566a3
......@@ -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
......
Install ChiliProject plugins here and they will be automatically loaded.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment