]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/potlatch.rb
Move more api-only methods into api_controller
[rails.git] / config / initializers / potlatch.rb
index 880947148af6e9e3740be51b896dffebe400dce8..223083b7e6e6dabd51bb3bbf607b9760fa82633f 100644 (file)
@@ -1,6 +1,6 @@
 # Load presets
 # Load presets
-POTLATCH_PRESETS = Potlatch::Potlatch.get_presets()
+POTLATCH_PRESETS = Potlatch::Potlatch.get_presets
 
 # Use SQL (faster) or Rails (more elegant) for common Potlatch reads
 # getway speedup is approximately x2, whichways approximately x7
 
 # Use SQL (faster) or Rails (more elegant) for common Potlatch reads
 # getway speedup is approximately x2, whichways approximately x7
-POTLATCH_USE_SQL = true
+POTLATCH_USE_SQL = false