Define default map as suggested on #460

Base path now sets a default map without having to use an external config.ru.
This commit is contained in:
bootstraponline
2012-10-14 20:42:01 -06:00
parent 1b952b6d56
commit fa97b57a96
2 changed files with 28 additions and 2 deletions
+1 -1
View File
@@ -413,7 +413,7 @@ By default, internal wiki links are all absolute from the root. To specify a dif
wiki = Gollum::Wiki.new("my-gollum-repo.git", :base_path => "/wiki")
Note that base_path just modifies the links. To map gollum to a non-root location, use `map` in config.ru. See [#532](https://github.com/github/gollum/issues/532).
Note that base_path just modifies the links. To map gollum to a non-root location, use `map` in config.ru. See [#532](https://github.com/github/gollum/issues/532). `bin/gollum` now includes a simple map based on base path.
> :base_path - String base path for all Wiki links.
>