Skip to content
This repository has been archived by the owner on Apr 19, 2019. It is now read-only.

Commit

Permalink
Fix home loop with page-file-dir gollum#491
Browse files Browse the repository at this point in the history
  • Loading branch information
bootstraponline committed Oct 14, 2012
1 parent b82556c commit 90cc512
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/gollum/frontend/app.rb
Expand Up @@ -193,6 +193,8 @@ def wiki_new

page_dir = File.join(settings.wiki_options[:page_file_dir].to_s,
settings.wiki_options[:base_path].to_s)
# Home is a special case.
path = '' if name.downcase == 'home'

page_dir = File.join(page_dir, path)

Expand Down

0 comments on commit 90cc512

Please sign in to comment.