Fix some urls

stable
David Barragán Merino 2014-08-21 16:10:44 +02:00
parent 3b4f27189e
commit 15ca14b152
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -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")