Added toc to wikipages. Patched wikicloth.
* patched wikicloth to serve anchor links for sections * added table of contents * subpages list doesn't show up per default
This commit is contained in:
parent
741815e24e
commit
67661cb716
9 changed files with 72 additions and 40 deletions
|
|
@ -85,7 +85,7 @@ class PagesController < ApplicationController
|
|||
end
|
||||
|
||||
def all
|
||||
@pages = Page.all :order => 'created_at', :conditions => {:redirect => nil}
|
||||
@pages = Page.all :order => 'updated_at DESC', :conditions => {:redirect => nil}
|
||||
end
|
||||
|
||||
def version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue