X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c20f55045d1a26bc42038c0e87deaaf120d98e43..9acc6d32883435ab9734cd4970b292583075a75d:/app/controllers/amf_controller.rb?ds=inline diff --git a/app/controllers/amf_controller.rb b/app/controllers/amf_controller.rb index d88c5ac19..900439721 100644 --- a/app/controllers/amf_controller.rb +++ b/app/controllers/amf_controller.rb @@ -266,7 +266,7 @@ class AmfController < ApplicationController # then rails only seems to return the first copy of a node when a # way includes a node more than once begin - way = Way.find(wayid) + way = Way.find(wayid, :include => { :nodes => :node_tags }) rescue ActiveRecord::RecordNotFound return [wayid,[],{}] end