diff --git a/gollum.gemspec b/gollum.gemspec index fec97ccc..ba6f5e65 100644 --- a/gollum.gemspec +++ b/gollum.gemspec @@ -6,7 +6,7 @@ Gem::Specification.new do |s| s.name = 'gollum' s.version = '2.1.4' - s.date = '2012-08-15' + s.date = '2012-08-22' s.rubyforge_project = 'gollum' s.summary = "A simple, Git-powered wiki." diff --git a/lib/gollum/frontend/public/gollum/javascript/gollum.js b/lib/gollum/frontend/public/gollum/javascript/gollum.js index e48417e2..e0984de4 100755 --- a/lib/gollum/frontend/public/gollum/javascript/gollum.js +++ b/lib/gollum/frontend/public/gollum/javascript/gollum.js @@ -141,7 +141,7 @@ $(document).ready(function() { url: baseUrl + '/edit/' + oldName, data: { path: path, rename: newName, page: oldName, message: msg }, success: function() { - window.location = baseUrl + encodeURIComponent(newName); + window.location = baseUrl + '/' + encodeURIComponent(newName); } }); }