You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# md_edit: 跟通知公告一样新增的Md类型的编辑
|
|
class CompetitionModule < ActiveRecord::Base
|
|
belongs_to :competition
|
|
has_one :competition_module_md_content, :dependent => :destroy
|
|
#attr_accessible :hidden, :name, :url, :competition_id, :position,
|
|
default_scope :order => 'position'
|
|
end
|