Redirect to correct path. #481
This commit is contained in:
@@ -341,6 +341,8 @@ module Precious
|
|||||||
path = extract_path(fullpath)
|
path = extract_path(fullpath)
|
||||||
wiki = wiki_new
|
wiki = wiki_new
|
||||||
|
|
||||||
|
path = '/' if path.nil?
|
||||||
|
|
||||||
if page = wiki.paged(name, path)
|
if page = wiki.paged(name, path)
|
||||||
@page = page
|
@page = page
|
||||||
@name = name
|
@name = name
|
||||||
|
|||||||
Reference in New Issue
Block a user