moving page_ids to ids

This commit is contained in:
2022-12-11 16:44:19 +02:00
parent dc4124a03d
commit fd86f0531c
7 changed files with 12 additions and 12 deletions

View File

@ -10,7 +10,7 @@ module Merged
fields :name , :content , :size , :updated_at
def sections
Section.where(page_id: name).order(index: :asc)
Section.where(page_id: id).order(index: :asc)
end
def self.check_name(name)