X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=templates%2Ffactory%2Fmacros;h=8743afc4d1fe53b7e7e9d83abda195288a365395;hb=373d926f352c8fdfd62279cfc1b41b7c17c88522;hp=afa2a74952c39db5f997f4d82d1278d3b2377021;hpb=628ecd5d9d294e601c79c7509140d02dcd7a1d40;p=maypole.git diff --git a/templates/factory/macros b/templates/factory/macros index afa2a74..8743afc 100644 --- a/templates/factory/macros +++ b/templates/factory/macros @@ -62,7 +62,8 @@ for some. ELSIF col == item.stringify_column; maybe_link_view(item); ELSE; - maybe_link_view(item.$col); + accessor = item.accessor_name(col); + maybe_link_view(item.$accessor); END; ""; END;