]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/ways_controller.rb
Move the api methods from changeset_comments_controller into the api namespaced contr...
[rails.git] / app / controllers / ways_controller.rb
index 85d9b5a5b0fb32f4e116d082993b18edd8c7045d..caf787105058777fc02cef641aedc77dd7f669b9 100644 (file)
@@ -22,7 +22,7 @@ class WaysController < ApplicationController
     render :plain => way.id.to_s
   end
 
-  def read
+  def show
     way = Way.find(params[:id])
 
     response.last_modified = way.timestamp
@@ -82,7 +82,7 @@ class WaysController < ApplicationController
     end
   end
 
-  def ways
+  def index
     unless params["ways"]
       raise OSM::APIBadUserInput, "The parameter ways is required, and must be of the form ways=id[,id[,id...]]"
     end