5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 02:31:42 +00:00

belongs_to => has_many

closes #266
closes #267
This commit is contained in:
f 2021-02-12 11:24:56 -03:00
parent 9c448f1173
commit 16b92e846d

View file

@ -2,5 +2,5 @@
%th= post_label_t(attribute, post: post)
%td
%ul{ dir: dir, lang: locale }
- metadata.belongs_to.each do |p|
- metadata.has_many.each do |p|
%li= link_to p.title.value, site_post_path(site, p.id)