make delete of app work when you are on app's tokens route

This commit is contained in:
John Mitchell 2018-05-10 13:45:46 -04:00
parent 77eea40d0b
commit 924cb51d51
No known key found for this signature in database
GPG Key ID: FE6A9B5BD4EB5C94

View File

@ -78,7 +78,7 @@ function ListApplicationsController (
}
if (parseInt($state.params.application_id, 10) === app.id) {
$state.go('^', reloadListStateParams, { reload: true });
$state.go('applications', reloadListStateParams, { reload: true });
} else {
$state.go('.', reloadListStateParams, { reload: true });
}