diff --git a/config/environment.rb b/config/environment.rb index 3c17419369ec4382e49c556cda419a33a9422d96..c438625a7a9a277220e33e6e29ceb83f5865326c 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -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 diff --git a/vendor/chiliproject_plugins/README b/vendor/chiliproject_plugins/README new file mode 100644 index 0000000000000000000000000000000000000000..504ebc766f3bf32f27550c3f2ad2183441c63fad --- /dev/null +++ b/vendor/chiliproject_plugins/README @@ -0,0 +1 @@ +Install ChiliProject plugins here and they will be automatically loaded.