Fixed a silly bug
This commit is contained in:
parent
98b2efdb5b
commit
cbca2ba318
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ class WikiController < ApplicationController
|
|||
|
||||
page_name = @page_name || 'HomePage'
|
||||
page = wiki.read_page(@web_name, page_name)
|
||||
render(:text => "Page '#{page_name}' not found", status => 404) and return unless page
|
||||
render(:text => "Page '#{page_name}' not found", :status => 404) and return unless page
|
||||
|
||||
@renderer = PageRenderer.new(page.revisions.last)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue