]> git.openstreetmap.org Git - rails.git/blobdiff - config/environment.rb
move potlatch presets to only be generated once, and allow pulling in way_tags in...
[rails.git] / config / environment.rb
index be3cf2a8f3c4fff81dcb348fad9c138b6bc8e6aa..bf80499f7502e8a07d0355f2dbfe0b1b5b43962f 100644 (file)
@@ -68,3 +68,8 @@ Rails::Initializer.run do |config|
   # Make Active Record use UTC-base instead of local time
   # config.active_record.default_timezone = :utc
 end
+
+# This has to be after the above block for some reason (doesnt pull in /lib/osm.rb?)
+POTLATCH_PRESETS = OSM::Potlatch.get_presets()
+
+