X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0975858cdb3430a7f717b3c972c3d6eb6e205784..3db4ac9a8e8dd94bc288e98ff353452e401d0a59:/app/controllers/node_controller.rb diff --git a/app/controllers/node_controller.rb b/app/controllers/node_controller.rb index 4e2a9b7f2..0a3897fe9 100644 --- a/app/controllers/node_controller.rb +++ b/app/controllers/node_controller.rb @@ -3,7 +3,8 @@ class NodeController < ApplicationController session :off before_filter :authorize, :only => [:create, :update, :delete] - before_filter :check_availability, :only => [:create, :update, :delete] + before_filter :check_write_availability, :only => [:create, :update, :delete] + before_filter :check_read_availability, :except => [:create, :update, :delete] after_filter :compress_output def create