X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/783528830ad1b0d5f07c8e758747841a0b4e5cc6..a4e5e8437f8c1836c6389f7aa49cc3884f3a7cf7:/app/controllers/changeset_controller.rb diff --git a/app/controllers/changeset_controller.rb b/app/controllers/changeset_controller.rb index 5e538c721..fad797cdc 100644 --- a/app/controllers/changeset_controller.rb +++ b/app/controllers/changeset_controller.rb @@ -70,7 +70,7 @@ class ChangesetController < ApplicationController # increase the size of the bounding box. this is a hint that clients can # set either before uploading a large number of changes, or changes that # the client (but not the server) knows will affect areas further away. - def include + def expand_bbox # only allow POST requests, because although this method is # idempotent, there is no "document" to PUT really... if request.post? @@ -294,6 +294,7 @@ class ChangesetController < ApplicationController render ex.render_opts end +private #------------------------------------------------------------ # utility functions below. #------------------------------------------------------------