Display to_url name on create.

This commit is contained in:
bootstraponline
2012-07-18 12:29:03 -06:00
parent ba796bc23d
commit dc9f6ac709
+1 -1
View File
@@ -141,7 +141,7 @@ module Precious
get '/create/*' do
@path = extract_path(params[:splat].first)
@name = extract_name(params[:splat].first)
@name = extract_name(params[:splat].first).to_url
wiki_options = settings.wiki_options.merge({ :page_file_dir => @path })
wiki = Gollum::Wiki.new(settings.gollum_path, wiki_options)