diff options
Diffstat (limited to 'config/environment.rb')
-rw-r--r-- | config/environment.rb | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/config/environment.rb b/config/environment.rb index cbb1896a2..315f3e4b4 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -2,7 +2,7 @@ # Uncomment below to force Rails into production mode when # you don't control web/app server and can't set it the proper way -# ENV['RAILS_ENV'] ||= 'production'
+# ENV['RAILS_ENV'] ||= 'production' # Bootstrap the Rails environment, frameworks, and default configuration require File.join(File.dirname(__FILE__), 'boot') @@ -41,24 +41,24 @@ Rails::Initializer.run do |config| # (enables use of different database adapters for development and test environments) # config.active_record.schema_format = :ruby - # See Rails::Configuration for more options
-
- # SMTP server configuration
- config.action_mailer.smtp_settings = {
- :address => "127.0.0.1",
- :port => 25,
- :domain => "somenet.foo",
- :authentication => :login,
- :user_name => "redmine",
- :password => "redmine",
- }
-
- config.action_mailer.perform_deliveries = true
-
+ # See Rails::Configuration for more options + + # SMTP server configuration + config.action_mailer.smtp_settings = { + :address => "127.0.0.1", + :port => 25, + :domain => "somenet.foo", + :authentication => :login, + :user_name => "redmine", + :password => "redmine", + } + + config.action_mailer.perform_deliveries = true + # Tell ActionMailer not to deliver emails to the real world. # The :test delivery method accumulates sent emails in the # ActionMailer::Base.deliveries array. - #config.action_mailer.delivery_method = :test
+ #config.action_mailer.delivery_method = :test config.action_mailer.delivery_method = :smtp # Uncomment this line if the engines plugin is installed. |