Fix edit baseUrl.

This commit is contained in:
bootstraponline
2012-08-22 13:21:01 -06:00
parent 3a14ab92f0
commit 11c9cabeb3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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."
@@ -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);
}
});
}