From 3d7967e7c188e395cd58ea97f1aa65c65c0fd5f1 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Mon, 3 Nov 2014 13:15:43 +0100 Subject: [PATCH] Added redirection to proper URL after tag renaming --- public_html/js/Presenters/TagPresenter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public_html/js/Presenters/TagPresenter.js b/public_html/js/Presenters/TagPresenter.js index 1519b2f2..aef008ea 100644 --- a/public_html/js/Presenters/TagPresenter.js +++ b/public_html/js/Presenters/TagPresenter.js @@ -119,6 +119,7 @@ App.Presenters.TagPresenter = function( render(); renderPosts(posts); tagList.refreshTags(); + router.navigateInplace('#/tag/' + tag.name); }).fail(function(response) { window.alert(response.json && response.json.error || 'An error occured.'); });