Fixed redirection after tag renaming
This commit is contained in:
parent
6679afbb6b
commit
a56bd55b50
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ App.Presenters.TagPresenter = function(
|
|||
|
||||
promise.wait(api.put('/tags/' + tag.name, formData))
|
||||
.then(function(response) {
|
||||
router.navigateInplace('#/tag/' + tag.name);
|
||||
router.navigateInplace('#/tag/' + response.json.name);
|
||||
}).fail(function(response) {
|
||||
window.alert(response.json && response.json.error || 'An error occured.');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue