Archived
add basic support for labels
This commit is contained in:
@@ -6,6 +6,7 @@ class Forumthread < ActiveRecord::Base
|
||||
belongs_to :forum
|
||||
belongs_to :user_author, class_name: "User", foreign_key: "user_author_id"
|
||||
belongs_to :user_editor, class_name: "User", foreign_key: "user_editor_id"
|
||||
belongs_to :label
|
||||
has_many :threadreplies
|
||||
|
||||
validates_presence_of :title, :author, :forum
|
||||
|
||||
Reference in New Issue
Block a user