Added TOC (Table of contents) for wiki pages.
This commit is contained in:
parent
255a4cd6c7
commit
eddf20b063
6 changed files with 53 additions and 3 deletions
|
|
@ -1,3 +1,18 @@
|
|||
# == Schema Information
|
||||
# Schema version: 20090325175756
|
||||
#
|
||||
# Table name: pages
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# title :string(255)
|
||||
# body :text
|
||||
# permalink :string(255)
|
||||
# lock_version :integer default(0)
|
||||
# updated_by :integer
|
||||
# created_at :datetime
|
||||
# updated_at :datetime
|
||||
#
|
||||
|
||||
class Page < ActiveRecord::Base
|
||||
|
||||
belongs_to :user, :foreign_key => 'updated_by'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue