]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_controller.rb
Renaming the include action to expand_bbox in the changeset controller.
[rails.git] / app / controllers / changeset_controller.rb
index 5e538c721c09527737d9578b3b33feea5990ab23..fad797cdc4a14ff604fc2710560c2d3efb685adb 100644 (file)
@@ -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.
   #------------------------------------------------------------