Merge pull request #477 from LuminosoInsight/master

Fix titles created with the "New" button.
This commit is contained in:
bootstraponline
2012-08-22 15:54:23 -07:00
+1 -1
View File
@@ -172,7 +172,7 @@ module Precious
end
get '/create/*' do
wikip = wiki_page(params[:splat].first)
wikip = wiki_page(params[:splat].first.gsub('+', '-'))
@name = wikip.name.to_url
@path = wikip.path