Allow the API to be taken offline completely as well as being put into
[rails.git] / app / controllers / amf_controller.rb
index 3ba91fb8cdc7294e156c104c917aab7a6e3c738b..ea32acec8ddbcb788c8755df1dec42143156096d 100644 (file)
@@ -2,7 +2,7 @@ class AmfController < ApplicationController
   require 'stringio'
 
   session :off
-  before_filter :check_availability
+  before_filter :check_write_availability
 
   # to log:
   # RAILS_DEFAULT_LOGGER.error("Args: #{args[0]}, #{args[1]}, #{args[2]}, #{args[3]}")