- # bail out at this stage if user has indicated that he is
- # not interested in ways or relations.
- if params[:restriction] == "nodes_only"
- response.headers["Content-Disposition"] = "attachment; filename=\"map.osm\""
- render :text => doc.to_s, :content_type => "text/xml"
- return
- end
-