Add move operation for documents plugin
This commit is contained in:
parent
3fb3fa409b
commit
3a4519757e
10 changed files with 41 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
class Document < ApplicationRecord
|
||||
include ActsAsTree
|
||||
extend ActsAsTree::TreeWalker
|
||||
|
||||
belongs_to :created_by, class_name: 'User', foreign_key: 'created_by_user_id'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue