Sync with latest trunk
This commit is contained in:
commit
8d48dd88fe
12 changed files with 42 additions and 28 deletions
|
@ -209,6 +209,7 @@ class WikiController < ApplicationController
|
|||
|
||||
@page_name ||= 'HomePage'
|
||||
@page ||= wiki.read_page(@web_name, @page_name)
|
||||
@link_mode ||= :publish
|
||||
render(:text => "Page '#{@page_name}' not found", :status => 404) and return unless @page
|
||||
|
||||
@renderer = PageRenderer.new(@page.revisions.last)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue