aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMarc Florisson2012-09-18 16:21:42 +0200
committerMarc Florisson2012-09-18 16:21:42 +0200
commit7cdfab565d89ebcf88c4e04912bd55b430dafa80 (patch)
tree61aba7b01fa0c0c8f4084de9d148f1fef473a5da /config
parent295f7876004a9c7c048ce627f98af6755f8470e2 (diff)
downloadchouette-core-7cdfab565d89ebcf88c4e04912bd55b430dafa80.tar.bz2
add IGN maps
Diffstat (limited to 'config')
-rw-r--r--config/environments/development.rb1
-rw-r--r--config/locales/maps.yml8
2 files changed, 9 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 4cc904bab..05fd92389 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -41,6 +41,7 @@ ChouetteIhm::Application.configure do
config.to_prepare do
Devise::Mailer.layout "mailer"
+ ApplicationMap.ign_api_key = "41k8m3tx1515p9by2mrvncva"
chouette_command_script = "tmp/chouette-command/chouette"
if File.exists? chouette_command_script
Chouette::Command.command = "tmp/chouette-command/chouette"
diff --git a/config/locales/maps.yml b/config/locales/maps.yml
new file mode 100644
index 000000000..339ad206d
--- /dev/null
+++ b/config/locales/maps.yml
@@ -0,0 +1,8 @@
+en:
+ maps:
+ ign_map: "IGN maps"
+fr:
+ maps:
+ ign_map: "Cartes IGN"
+
+