summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/environment.rb5
-rw-r--r--extra/sample_plugin/README5
-rw-r--r--vendor/plugins/acts_as_event/init.rb (renamed from lib/plugins/acts_as_event/init.rb)0
-rw-r--r--vendor/plugins/acts_as_event/lib/acts_as_event.rb (renamed from lib/plugins/acts_as_event/lib/acts_as_event.rb)0
-rw-r--r--vendor/plugins/acts_as_searchable/init.rb (renamed from lib/plugins/acts_as_searchable/init.rb)0
-rw-r--r--vendor/plugins/acts_as_searchable/lib/acts_as_searchable.rb (renamed from lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb)0
-rw-r--r--vendor/plugins/acts_as_watchable/init.rb (renamed from lib/plugins/acts_as_watchable/init.rb)0
-rw-r--r--vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb (renamed from lib/plugins/acts_as_watchable/lib/acts_as_watchable.rb)0
8 files changed, 1 insertions, 9 deletions
diff --git a/config/environment.rb b/config/environment.rb
index 315f3e4b4..c7e0e47a9 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -15,8 +15,6 @@ Rails::Initializer.run do |config|
# Add additional load paths for sweepers
config.load_paths += %W( #{RAILS_ROOT}/app/sweepers )
-
- config.plugin_paths = ['lib/plugins', 'vendor/plugins']
# Force all environments to use the same logger level
# (by default production uses :info, the others :debug)
@@ -61,9 +59,6 @@ Rails::Initializer.run do |config|
#config.action_mailer.delivery_method = :test
config.action_mailer.delivery_method = :smtp
- # Uncomment this line if the engines plugin is installed.
- # This will ensure that engines is loaded first.
- # config.plugins = ["engines", "*"]
end
ActiveRecord::Errors.default_error_messages = {
diff --git a/extra/sample_plugin/README b/extra/sample_plugin/README
index eed8b9a23..fe3fac736 100644
--- a/extra/sample_plugin/README
+++ b/extra/sample_plugin/README
@@ -6,12 +6,9 @@ This is a sample plugin for Redmine
=== Adding plugin support to Redmine
-1. Install engines plugin
+To add plugin support to Redmine, install engines plugin:
See: http://rails-engines.org/
-2. Uncomment this line in config/environment.rb:
- config.plugins = ["engines", "*"]
-
=== Plugin installation
1. Copy the plugin directory into the vendor/plugins directory
diff --git a/lib/plugins/acts_as_event/init.rb b/vendor/plugins/acts_as_event/init.rb
index 91051510a..91051510a 100644
--- a/lib/plugins/acts_as_event/init.rb
+++ b/vendor/plugins/acts_as_event/init.rb
diff --git a/lib/plugins/acts_as_event/lib/acts_as_event.rb b/vendor/plugins/acts_as_event/lib/acts_as_event.rb
index a0d1822ad..a0d1822ad 100644
--- a/lib/plugins/acts_as_event/lib/acts_as_event.rb
+++ b/vendor/plugins/acts_as_event/lib/acts_as_event.rb
diff --git a/lib/plugins/acts_as_searchable/init.rb b/vendor/plugins/acts_as_searchable/init.rb
index 063721756..063721756 100644
--- a/lib/plugins/acts_as_searchable/init.rb
+++ b/vendor/plugins/acts_as_searchable/init.rb
diff --git a/lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb b/vendor/plugins/acts_as_searchable/lib/acts_as_searchable.rb
index ee4d5d6f8..ee4d5d6f8 100644
--- a/lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb
+++ b/vendor/plugins/acts_as_searchable/lib/acts_as_searchable.rb
diff --git a/lib/plugins/acts_as_watchable/init.rb b/vendor/plugins/acts_as_watchable/init.rb
index f39cc7d18..f39cc7d18 100644
--- a/lib/plugins/acts_as_watchable/init.rb
+++ b/vendor/plugins/acts_as_watchable/init.rb
diff --git a/lib/plugins/acts_as_watchable/lib/acts_as_watchable.rb b/vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb
index c789017e5..c789017e5 100644
--- a/lib/plugins/acts_as_watchable/lib/acts_as_watchable.rb
+++ b/vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb