render :plain => way.id.to_s
end
- def read
+ def show
way = Way.find(params[:id])
response.last_modified = way.timestamp
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