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

Commit

Permalink
added handling for empty base paths. File does not support joining nils
Browse files Browse the repository at this point in the history
  • Loading branch information
nirnanaaa committed Feb 28, 2014
1 parent ee5b85f commit 4cac1f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/gollum_rails/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def set_folder(options)
end
Setup.wiki_options ||= {}
Setup.wiki_options[:page_file_dir] = options
Setup.wiki_options[:base_path] = base || options

Setup.wiki_options[:base_path] = (base || options) || ''
end
alias_method :folder=, :set_folder
end
Expand Down

0 comments on commit 4cac1f7

Please sign in to comment.