Load Engines plugin if available (closes #180).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1281 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Jean-Philippe Lang 17 years ago
parent 35a14cbfdc
commit 09bf503fd2
  1. 7
      config/environment.rb

@ -7,6 +7,13 @@
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
# Load Engine plugin if available
begin
require File.join(File.dirname(__FILE__), '../vendor/plugins/engines/boot')
rescue LoadError
# Not available
end
Rails::Initializer.run do |config|
# Settings in config/environments/* take precedence those specified here

Loading…
Cancel
Save