Fix some urls
parent
3b4f27189e
commit
15ca14b152
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue