dacb98ec91
* removes renderTemplate usages * adds _super to setupController override in oidc-callback route
10 lines
267 B
JavaScript
10 lines
267 B
JavaScript
import Route from '@ember/routing/route';
|
|
|
|
export default Route.extend({
|
|
setupController(controller) {
|
|
this._super(...arguments);
|
|
const targetRoute = location.pathname || '';
|
|
controller.set('isCallback', targetRoute.includes('oidc/callback'));
|
|
},
|
|
});
|