Archived
another big commit :D
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
class Forum < ActiveRecord::Base
|
||||
belongs_to :forumgroup
|
||||
has_many :forumthreads
|
||||
|
||||
def to_s
|
||||
name
|
||||
end
|
||||
|
||||
def group
|
||||
forumgroup
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user