From be0d7b5f79706a50dd2fdb628be2fb4bf3e9bf41 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Wed, 28 Oct 2020 09:15:27 -0400 Subject: [PATCH] docs: tweak comments --- ui/core/app/routes/scopes/scope/scopes.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ui/core/app/routes/scopes/scope/scopes.js b/ui/core/app/routes/scopes/scope/scopes.js index 520215dcd..a678edcc9 100644 --- a/ui/core/app/routes/scopes/scope/scopes.js +++ b/ui/core/app/routes/scopes/scope/scopes.js @@ -1,6 +1,11 @@ import Route from '@ember/routing/route'; import { inject as service } from '@ember/service'; +/** + * The scopes route lists subscopes under the currently active scope. + * For the global scope, the listed scopes are orgs. + * For org scopes, the listed scopes are projects. + */ export default class ScopesScopeScopesRoute extends Route { // =services @@ -19,9 +24,7 @@ export default class ScopesScopeScopesRoute extends Route { /** * Loads sub scopes for the current scope. - * @param {object} params - * @param {string} params.scope_id - * @return {Promise{ScopeModel}} + * @return {Promise */ async model() { const currentScope = this.modelFor('scopes.scope');