3 class WaysController < ApiController
6 before_action :set_request_formats
9 # returns all the ways which are currently using the node given in the
10 # :node_id parameter. note that this used to return deleted ways as well, but
11 # this seemed not to be the expected behaviour, so it was removed.
15 .where(:id => WayNode.where(
16 :node_id => params[:node_id]
20 respond_to do |format|