aboutsummaryrefslogtreecommitdiffstats
path: root/config/environments
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/development.rb4
-rw-r--r--config/environments/production.rb30
-rw-r--r--config/environments/test.rb24
3 files changed, 29 insertions, 29 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 0cd0d21de..2d01ba666 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -54,7 +54,7 @@ Rails.application.configure do
# AFIMB
config.company_name = "afimb"
config.company_theme = "#61970b" # AFIMB color
- config.company_contact = "http://www.chouette.mobi/contact-support/"
+ config.company_contact = "http://www.chouette.mobi/club-utilisateurs/contact-support/"
config.accept_user_creation = true
# CITYWAY
@@ -67,7 +67,7 @@ Rails.application.configure do
config.demo_data = "tmp/demo.zip"
# link to validation specification pages
- config.validation_spec = "http://www.chouette.mobi/neptune-validation/v20/"
+ config.validation_spec = "http://www.chouette.mobi/neptune-validation/v21/"
config.i18n.available_locales = [:fr, :en]
end
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 6c5b89685..767b28a93 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -2,7 +2,7 @@ Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
config.eager_load = true
-
+
# Code is not reloaded between requests.
config.cache_classes = true
@@ -48,7 +48,7 @@ Rails.application.configure do
# Prepend all log lines with the following tags.
# config.log_tags = [ :subdomain, :uuid ]
-
+
# Use a different logger for distributed setups.
#if ENV['OS'] == 'Windows_NT'
# # args = log_path,number of files,file sizes
@@ -83,13 +83,13 @@ Rails.application.configure do
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false
-
+
if ENV['CHOUETTE_BASE_URL'].nil?
config.action_mailer.default_url_options = { :host => 'my-domain-name.com' }
else
config.action_mailer.default_url_options = { :host => ENV['CHOUETTE_BASE_URL'] }
- end
-
+ end
+
# Configure the e-mail address which will be shown in Devise::Maile
if ENV['CHOUETTE_MAIL_SENDER'].nil?
config.mailer_sender = "chouette-production@my-domain-name.com"
@@ -111,28 +111,28 @@ Rails.application.configure do
:user_name => ENV['CHOUETTE_SMTP_USER'],
:password => ENV['CHOUETTE_SMTP_PASSWORD'],
:authentication => ENV['CHOUETTE_SMTP_AUTH'] }
- end
- #end
+ end
+ #end
# Specific theme for each company
# AFIMB
- config.company_name = "afimb"
+ config.company_name = "afimb"
config.company_theme = "#61970b" # AFIMB color
- config.company_contact = "http://www.chouette.mobi/contact-support/"
- config.accept_user_creation = true
+ config.company_contact = "http://www.chouette.mobi/club-utilisateurs/contact-support/"
+ config.accept_user_creation = true
# CITYWAY
# config.company_name = "cityway"
# config.company_theme = "#32adb0"
# config.company_contact = "http://www.cityway.fr/contact/?rub_code=14"
- # config.accept_user_creation = false
-
+ # config.accept_user_creation = false
+
# file to data for demo
config.demo_data = ENV['CHOUETTE_DEMO_DATA'].nil? ? "/path/to/demo.zip" : ENV['CHOUETTE_DEMO_DATA']
-
+
# link to validation specification pages
- config.validation_spec = "http://www.chouette.mobi/neptune-validation/v20/"
-
+ config.validation_spec = "http://www.chouette.mobi/neptune-validation/v21/"
+
# paths for external resources
config.to_prepare do
Devise::Mailer.layout "mailer"
diff --git a/config/environments/test.rb b/config/environments/test.rb
index 255803abc..5fb3b1475 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -2,7 +2,7 @@ Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
config.eager_load = false
-
+
# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for the test suite and is wiped
@@ -38,36 +38,36 @@ Rails.application.configure do
# Raises error for missing translations
# config.action_view.raise_on_missing_translations = true
-
+
# Specific theme for each company
# AFIMB
- config.company_name = "afimb"
+ config.company_name = "afimb"
config.company_theme = "#61970b" # AFIMB color
- config.company_contact = "http://www.chouette.mobi/contact-support/"
+ config.company_contact = "http://www.chouette.mobi/club-utilisateurs/contact-support/"
config.accept_user_creation = true
-
+
# CITYWAY
# config.company_name = "cityway"
# config.company_theme = "#32adb0"
# config.company_contact = "http://www.cityway.fr/contact/?rub_code=14"
# config.accept_user_creation = false
-
+
# file to data for demo
config.demo_data = "tmp/demo.zip"
-
+
# link to validation specification pages
- config.validation_spec = "http://www.chouette.mobi/neptune-validation/v20/"
+ config.validation_spec = "http://www.chouette.mobi/neptune-validation/v21/"
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
-
+
# Configure the e-mail address which will be shown in Devise::Maile
config.mailer_sender = "appli@chouette.mobi"
- config.action_mailer.delivery_method = :sendmail
+ config.action_mailer.delivery_method = :sendmail
# change to true to allow email to be sent during development
config.action_mailer.perform_deliveries = false
config.action_mailer.raise_delivery_errors = false
- config.action_mailer.default :charset => "utf-8"
-
+ config.action_mailer.default :charset => "utf-8"
+
config.i18n.available_locales = [:fr, :en]
end