Add admin interface for the links
This commit is contained in:
parent
7657b05787
commit
1053b3883d
11 changed files with 142 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
class Link < ApplicationRecord
|
||||
belongs_to :workgroup
|
||||
|
||||
validates_presence_of :name, :url
|
||||
|
||||
scope :ordered, -> { order(:name) }
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue