docs: tweak comments

This commit is contained in:
Randall Morey committed 2020-10-28 09:15:27 -04:00
1 parent 575fba37bb
commit be0d7b5f79
1 file changed
+6 -3
+6 -3
View File
@@ -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');