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) %th= post_label_t(attribute, post: post)
%td %td
%ul{ dir: dir, lang: locale } %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) %li= link_to p.title.value, site_post_path(site, p.id)