added seed data
This commit is contained in:
@@ -7,7 +7,7 @@ class Topic < ActiveRecord::Base
|
||||
|
||||
# Accessors
|
||||
attr_accessor :body
|
||||
attr_accessible :title, :body, :sticky, :locked
|
||||
attr_accessible :title, :body, :sticky, :locked, :forum_id
|
||||
|
||||
# Validations
|
||||
validates :title, :presence => true
|
||||
|
||||
Reference in New Issue
Block a user