]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/swf_controller.rb
Add a flag to allow the API to be placed in read-only mode.
[rails.git] / app / controllers / swf_controller.rb
index a58e899e01741d0daeec900a210de98587a20a0a..9a4516016700eaa2986ee1ebd06ccccbfa6e480c 100644 (file)
@@ -1,4 +1,5 @@
 class SwfController < ApplicationController
 class SwfController < ApplicationController
+  before_filter :check_availability
 
 # to log:
 # RAILS_DEFAULT_LOGGER.error("Args: #{args[0]}, #{args[1]}, #{args[2]}, #{args[3]}")
 
 # to log:
 # RAILS_DEFAULT_LOGGER.error("Args: #{args[0]}, #{args[1]}, #{args[2]}, #{args[3]}")