@@ -15,8 +15,6 Rails::Initializer.run do |config| | |||
|
15 | 15 | |
|
16 | 16 | # Add additional load paths for sweepers |
|
17 | 17 | config.load_paths += %W( #{RAILS_ROOT}/app/sweepers ) |
|
18 | ||
|
19 | config.plugin_paths = ['lib/plugins', 'vendor/plugins'] | |
|
20 | 18 | |
|
21 | 19 | # Force all environments to use the same logger level |
|
22 | 20 | # (by default production uses :info, the others :debug) |
@@ -61,9 +59,6 Rails::Initializer.run do |config| | |||
|
61 | 59 | #config.action_mailer.delivery_method = :test |
|
62 | 60 | config.action_mailer.delivery_method = :smtp |
|
63 | 61 | |
|
64 | # Uncomment this line if the engines plugin is installed. | |
|
65 | # This will ensure that engines is loaded first. | |
|
66 | # config.plugins = ["engines", "*"] | |
|
67 | 62 | end |
|
68 | 63 | |
|
69 | 64 | ActiveRecord::Errors.default_error_messages = { |
@@ -6,12 +6,9 This is a sample plugin for Redmine | |||
|
6 | 6 | |
|
7 | 7 | === Adding plugin support to Redmine |
|
8 | 8 | |
|
9 | 1. Install engines plugin | |
|
9 | To add plugin support to Redmine, install engines plugin: | |
|
10 | 10 | See: http://rails-engines.org/ |
|
11 | 11 | |
|
12 | 2. Uncomment this line in config/environment.rb: | |
|
13 | config.plugins = ["engines", "*"] | |
|
14 | ||
|
15 | 12 | === Plugin installation |
|
16 | 13 | |
|
17 | 14 | 1. Copy the plugin directory into the vendor/plugins directory |
|
1 | NO CONTENT: file renamed from lib/plugins/acts_as_event/init.rb to vendor/plugins/acts_as_event/init.rb |
|
1 | NO CONTENT: file renamed from lib/plugins/acts_as_event/lib/acts_as_event.rb to vendor/plugins/acts_as_event/lib/acts_as_event.rb |
|
1 | NO CONTENT: file renamed from lib/plugins/acts_as_searchable/init.rb to vendor/plugins/acts_as_searchable/init.rb |
|
1 | NO CONTENT: file renamed from lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb to vendor/plugins/acts_as_searchable/lib/acts_as_searchable.rb |
|
1 | NO CONTENT: file renamed from lib/plugins/acts_as_watchable/init.rb to vendor/plugins/acts_as_watchable/init.rb |
|
1 | NO CONTENT: file renamed from lib/plugins/acts_as_watchable/lib/acts_as_watchable.rb to vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb |
General Comments 0
You need to be logged in to leave comments.
Login now