Move new page dir logic to JS.

This commit is contained in:
bootstraponline
2012-08-01 01:49:26 -06:00
parent a0f05eaf67
commit 02539bfdd3
7 changed files with 8 additions and 26 deletions
-2
View File
@@ -344,8 +344,6 @@ module Precious
@content = page.formatted_data
@toc_content = wiki.universal_toc ? @page.toc_data : nil
@mathjax = wiki.mathjax
# Set @path for mustache :page new_page_data_variables
@path = path
mustache :page
elsif file = wiki.file(fullpath)
content_type file.mime_type