aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Donnet2014-10-21 11:50:28 +0200
committerLuc Donnet2014-10-21 11:50:28 +0200
commit1b58515640be1140fc3dde5fa00d0f32ee3b391a (patch)
treedaefa827e7051f3c1f49a72a82acf2d2a42b1907
parent984bbaea949860f11b96477580403ab40785d2c0 (diff)
downloadchouette-core-1b58515640be1140fc3dde5fa00d0f32ee3b391a.tar.bz2
Add cityway config in dev and prod
-rw-r--r--config/environments/development.rb12
-rw-r--r--config/environments/production.rb13
2 files changed, 19 insertions, 6 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index d3ea21f5f..2c028ac58 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -47,11 +47,17 @@ ChouetteIhm::Application.configure do
# api key to geoportail IGN (production key link to application url root referer)
#config.geoportail_api_key = "aaaaaaaaaaaaaa"
- # Specific for each company
- config.company_name = "afimb"
- config.company_theme = "#61970b"
+ # Specific theme for each company
+ # AFIMB
+ config.company_name = "afimb"
+ config.company_theme = "#61970b" # AFIMB color
config.company_contact = "http://www.chouette.mobi/contact-support/"
+ # CITYWAY
+ # config.company_name = "cityway"
+ # config.company_theme = "#32adb0"
+ # config.company_contact = "http://www.cityway.fr/contact/?rub_code=14"
+
# file to data for demo
config.demo_data = "tmp/demo.zip"
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 6494b4c60..8badf096a 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -132,11 +132,18 @@ ChouetteIhm::Application.configure do
config.geoportail_api_key = ENV['CHOUETTE_GEOPORTAIL_KEY']
end
- # Specific for each company
- config.company_name = "afimb"
- config.company_theme = "#61970b"
+ # Specific theme for each company
+ # AFIMB
+ config.company_name = "afimb"
+ config.company_theme = "#61970b" # AFIMB color
config.company_contact = "http://www.chouette.mobi/contact-support/"
+ # CITYWAY
+ # config.company_name = "cityway"
+ # config.company_theme = "#32adb0"
+ # config.company_contact = "http://www.cityway.fr/contact/?rub_code=14"
+
+
# file to data for demo
config.demo_data = ENV['CHOUETTE_DEMO_DATA'].nil? ? "/path/to/demo.zip" : ENV['CHOUETTE_DEMO_DATA']