Sha256: d9de464a7ad2a9543800554402778fba4a29536d64d4dcdef55748f0695c9bf7
Contents?: true
Size: 406 Bytes
Versions: 14
Compression:
Stored size: 406 Bytes
Contents
module Pageflow class Storyline < ApplicationRecord include SerializedConfiguration include RevisionComponent has_many(:chapters, -> { order('pageflow_chapters.position ASC') }, dependent: :destroy, inverse_of: :storyline) has_many :pages, through: :chapters nested_revision_components :chapters delegate :entry, to: :revision end end
Version data entries
14 entries across 14 versions & 1 rubygems