- def full
- @way = Way.includes(:nodes => :node_tags).find(params[:id])
-
- if @way.visible
- @nodes = []
-
- @way.nodes.uniq.each do |node|
- @nodes << node if node.visible
- end
-
- # Render the result
- respond_to do |format|
- format.xml
- format.json
- end
- else
- head :gone
- end
- end
-