From 15ca14b152ad2f673105bcf18eeabeaeccf8bdc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Thu, 21 Aug 2014 16:10:44 +0200 Subject: [PATCH] Fix some urls --- app/coffee/modules/issues/detail.coffee | 2 +- app/coffee/modules/tasks/detail.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/coffee/modules/issues/detail.coffee b/app/coffee/modules/issues/detail.coffee index 27304b48..313b6aa4 100644 --- a/app/coffee/modules/issues/detail.coffee +++ b/app/coffee/modules/issues/detail.coffee @@ -156,7 +156,7 @@ IssueDirective = ($tgrepo, $log, $location, $confirm) -> onSuccess = -> $confirm.notify("success") - $location.path("/project/#{$scope.project.slug}/issues/#{$scope.issue.ref}") + $location.path("/project/#{$scope.project.slug}/issue/#{$scope.issue.ref}") onError = -> $confirm.notify("error") diff --git a/app/coffee/modules/tasks/detail.coffee b/app/coffee/modules/tasks/detail.coffee index 3527ac8a..fae23b91 100644 --- a/app/coffee/modules/tasks/detail.coffee +++ b/app/coffee/modules/tasks/detail.coffee @@ -145,7 +145,7 @@ TaskDirective = ($tgrepo, $log, $location, $confirm) -> onSuccess = -> $confirm.notify("success") - $location.path("/project/#{$scope.project.slug}/tasks/#{$scope.task.ref}") + $location.path("/project/#{$scope.project.slug}/task/#{$scope.task.ref}") onError = -> $confirm.notify("error")