X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/40414cf324309d13d207f9339b7f40ce05a9fa2a..5daeb1b0632f03f6c93490452cf7cff174b353ca:/app/controllers/changeset_controller.rb?ds=inline diff --git a/app/controllers/changeset_controller.rb b/app/controllers/changeset_controller.rb index 8668611eb..8950126b4 100644 --- a/app/controllers/changeset_controller.rb +++ b/app/controllers/changeset_controller.rb @@ -57,7 +57,7 @@ class ChangesetController < ApplicationController def close begin - if not request.put? + unless request.put? render :nothing => true, :status => :method_not_allowed return end @@ -71,7 +71,7 @@ class ChangesetController < ApplicationController end def upload - if not request.put? + unless request.put? render :nothing => true, :status => :method_not_allowed return end