Merge commenting support
This commit is contained in:
6
app/models/comment.rb
Normal file
6
app/models/comment.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class Comment < ActiveRecord::Base
|
||||
# inherit the creation module: encapsulates that this is a polymorphic user, offers some aliases and makes sure that all necessary attributes are set.
|
||||
include Creation
|
||||
|
||||
belongs_to :file, class: CodeOcean::File
|
||||
end
|
Reference in New Issue
Block a user