diff --git a/app/settings/tokens/edit/controller.ts b/app/settings/tokens/edit/controller.ts index 2027d341f1e..e798323757c 100644 --- a/app/settings/tokens/edit/controller.ts +++ b/app/settings/tokens/edit/controller.ts @@ -23,9 +23,7 @@ export default class SettingsTokensEditController extends Controller { @action refresh() { this.clearTokenValue(); - - // Send action to route - this.send('refreshRoute'); + this.router.transitionTo('settings.tokens'); } clearTokenValue() { diff --git a/app/settings/tokens/edit/template.hbs b/app/settings/tokens/edit/template.hbs index d85971d44de..4d2fdea5921 100644 --- a/app/settings/tokens/edit/template.hbs +++ b/app/settings/tokens/edit/template.hbs @@ -34,7 +34,7 @@ {{else}}