Links, mainly...
This commit is contained in:
parent
fd42a3f173
commit
21ab02d647
69 changed files with 2258 additions and 155 deletions
|
|
@ -6,4 +6,10 @@ class SuccessCriterion < ApplicationRecord
|
|||
has_rich_text :description_html
|
||||
|
||||
belongs_to :element, touch: true
|
||||
|
||||
def level_value
|
||||
return nil unless level
|
||||
|
||||
self.class.levels.values.index_of(level)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue