diff --git a/lib/gollum/templates/navbar.mustache b/lib/gollum/templates/navbar.mustache
index 2b7ba0fa..4b71a4bf 100644
--- a/lib/gollum/templates/navbar.mustache
+++ b/lib/gollum/templates/navbar.mustache
@@ -2,7 +2,7 @@
diff --git a/lib/gollum/views/helpers.rb b/lib/gollum/views/helpers.rb
index a1b2dc0d..f82f6062 100644
--- a/lib/gollum/views/helpers.rb
+++ b/lib/gollum/views/helpers.rb
@@ -54,7 +54,7 @@ module Precious
end
def page_route(page = nil)
- clean_url(@base_url, page)
+ clean_url("/#{@base_url}", page)
end
def clean_url(*url)