Cosmetics
This commit is contained in:
parent
ee5dbcf33e
commit
e569bcb246
21 changed files with 54 additions and 65 deletions
|
|
@ -4,7 +4,7 @@ class Element < ApplicationRecord
|
|||
has_rich_text :description
|
||||
|
||||
belongs_to :page, touch: true
|
||||
has_many :success_criteria, dependent: :destroy
|
||||
has_many :success_criteria, -> { order(:position) }, dependent: :destroy
|
||||
|
||||
delegate :report, to: :page
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue