Merge pull request #281 from hashicorp/sessions-breadcrumb

feat: Add 'sessions' breadcrumb
This commit is contained in:
Randall Morey authored and GitHub committed 2020-10-05 17:23:40 -04:00
commit 986c43ee6b
2 files changed
+31

No files matched your search

@@ -0,0 +1,19 @@
import Controller from '@ember/controller';
import { inject as service } from '@ember/service';
export default class ScopesScopeProjectsProjectSessionsController extends Controller {
// =services
@service intl;
// =attributes
/**
* @type {string}
*/
get breadCrumb() {
return this.intl.t('resources.session.title_plural');
}
}
@@ -0,0 +1,12 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Controller | scopes/scope/projects/project/sessions', function(hooks) {
setupTest(hooks);
// Replace this with your real tests.
test('it exists', function(assert) {
let controller = this.owner.lookup('controller:scopes/scope/projects/project/sessions');
assert.ok(controller);
});
});