Fix some urls
parent
3b4f27189e
commit
15ca14b152
|
@ -156,7 +156,7 @@ IssueDirective = ($tgrepo, $log, $location, $confirm) ->
|
||||||
|
|
||||||
onSuccess = ->
|
onSuccess = ->
|
||||||
$confirm.notify("success")
|
$confirm.notify("success")
|
||||||
$location.path("/project/#{$scope.project.slug}/issues/#{$scope.issue.ref}")
|
$location.path("/project/#{$scope.project.slug}/issue/#{$scope.issue.ref}")
|
||||||
|
|
||||||
onError = ->
|
onError = ->
|
||||||
$confirm.notify("error")
|
$confirm.notify("error")
|
||||||
|
|
|
@ -145,7 +145,7 @@ TaskDirective = ($tgrepo, $log, $location, $confirm) ->
|
||||||
|
|
||||||
onSuccess = ->
|
onSuccess = ->
|
||||||
$confirm.notify("success")
|
$confirm.notify("success")
|
||||||
$location.path("/project/#{$scope.project.slug}/tasks/#{$scope.task.ref}")
|
$location.path("/project/#{$scope.project.slug}/task/#{$scope.task.ref}")
|
||||||
|
|
||||||
onError = ->
|
onError = ->
|
||||||
$confirm.notify("error")
|
$confirm.notify("error")
|
||||||
|
|
Loading…
Reference in New Issue