2013-11-27 14:58:21 +01:00
|
|
|
class Page < ActiveRecord::Base
|
2014-08-11 09:12:41 +02:00
|
|
|
include TheModerator::Model
|
|
|
|
|
2013-11-28 09:26:18 +01:00
|
|
|
has_many :links
|
2013-11-28 11:07:35 +01:00
|
|
|
accepts_nested_attributes_for :links
|
|
|
|
|
2013-11-28 09:26:18 +01:00
|
|
|
belongs_to :category
|
2013-11-27 14:58:21 +01:00
|
|
|
end
|