Avoid using underscore in anchor names
authorTom Hughes <tom@compton.nu>
Sat, 24 Sep 2011 15:03:15 +0000 (16:03 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 24 Sep 2011 15:03:15 +0000 (16:03 +0100)
Perl's YAML parser (wrongly as far as I can see) rejects any anchor
name with an underscore in it.

config/example.application.yml

index 3c5b3a3e9691f516ec527076673d88e26771be36..e102fc1a23af11dc664775709ef76aeb8cd09626 100644 (file)
@@ -1,4 +1,4 @@
-standard_settings: &standard_settings
+defaults: &defaults
   # The server URL
   server_url: "www.openstreetmap.org"
   # The generator
@@ -79,10 +79,10 @@ standard_settings: &standard_settings
   #piwik_signup_goal: 1
 
 development:
-  <<: *standard_settings
+  <<: *defaults
 
 production:
-  <<: *standard_settings
+  <<: *defaults
 
 test:
-  <<: *standard_settings
+  <<: *defaults