Files
threshold-ui/ui/admin/app/routes/authentication-error.js
T

22 lines
400 B
JavaScript
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
2021-04-02 16:06:38 -04:00
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
2021-04-02 16:06:38 -04:00
2021-04-14 16:11:13 -04:00
export default class AuthenticationErrorRoute extends Route {
// =services
@service('browser/window') window;
2021-04-14 16:11:13 -04:00
// =methods
/**
* @return {string}
*/
model() {
return this.window.location.toString();
2021-04-14 16:11:13 -04:00
}
}