Move configuration of GPX file locations to application.yml
authorTom Hughes <tom@compton.nu>
Wed, 4 Aug 2010 23:10:44 +0000 (00:10 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 4 Aug 2010 23:10:44 +0000 (00:10 +0100)
config/application.yml
config/initializers/gpx.rb [deleted file]

index b368d1fcaa7825304db98a9449ee612255ce1a06..cf6d5fafd74291c255a327d9c8a469e220ba682b 100644 (file)
@@ -47,7 +47,10 @@ standard_settings: &standard_settings
   default_legale: GB
   # Memory limits (in Mb)
   #soft_memory_limit: 512
-  #hard_memory_limit: 2048 
+  #hard_memory_limit: 2048
+  # Location of GPX traces and images
+  gpx_trace_dir: "/home/osm/traces"
+  gpx_image_dir: "/home/osm/images"
 
 development:
   <<: *standard_settings
diff --git a/config/initializers/gpx.rb b/config/initializers/gpx.rb
deleted file mode 100644 (file)
index df4c601..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# Set location of GPX trace files
-GPX_TRACE_DIR = "/home/osm/traces"
-
-# Set location of GPX image files
-GPX_IMAGE_DIR = "/home/osm/images"