Allow the API to be taken offline completely as well as being put into
[rails.git] / app / controllers / swf_controller.rb
index 2200ab6525bc4865b427aaeeab2104730150ece9..084a7d57a181692db0b34343b1a68f3e90161a74 100644 (file)
@@ -1,6 +1,6 @@
 class SwfController < ApplicationController
        session :off
-       before_filter :check_availability
+       before_filter :check_read_availability
 
 # to log:
 # RAILS_DEFAULT_LOGGER.error("Args: #{args[0]}, #{args[1]}, #{args[2]}, #{args[3]}")