Redmine acts_as_* plugins moved to vendor/plugins.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@774 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f2a5304d64
commit
cae547a7ea
|
@ -16,8 +16,6 @@ Rails::Initializer.run do |config|
|
||||||
# Add additional load paths for sweepers
|
# Add additional load paths for sweepers
|
||||||
config.load_paths += %W( #{RAILS_ROOT}/app/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
|
# Force all environments to use the same logger level
|
||||||
# (by default production uses :info, the others :debug)
|
# (by default production uses :info, the others :debug)
|
||||||
# config.log_level = :debug
|
# config.log_level = :debug
|
||||||
|
@ -61,9 +59,6 @@ Rails::Initializer.run do |config|
|
||||||
#config.action_mailer.delivery_method = :test
|
#config.action_mailer.delivery_method = :test
|
||||||
config.action_mailer.delivery_method = :smtp
|
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
|
end
|
||||||
|
|
||||||
ActiveRecord::Errors.default_error_messages = {
|
ActiveRecord::Errors.default_error_messages = {
|
||||||
|
|
|
@ -6,12 +6,9 @@ This is a sample plugin for Redmine
|
||||||
|
|
||||||
=== Adding plugin support to Redmine
|
=== Adding plugin support to Redmine
|
||||||
|
|
||||||
1. Install engines plugin
|
To add plugin support to Redmine, install engines plugin:
|
||||||
See: http://rails-engines.org/
|
See: http://rails-engines.org/
|
||||||
|
|
||||||
2. Uncomment this line in config/environment.rb:
|
|
||||||
config.plugins = ["engines", "*"]
|
|
||||||
|
|
||||||
=== Plugin installation
|
=== Plugin installation
|
||||||
|
|
||||||
1. Copy the plugin directory into the vendor/plugins directory
|
1. Copy the plugin directory into the vendor/plugins directory
|
||||||
|
|
Loading…
Reference in New Issue