feat: Add 'sessions' breadcrumb

This commit is contained in:
Susmitha Girumala committed 2020-10-05 14:47:13 -04:00
1 parent d35f49a3e5
commit 4b5f02da2a
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);
});
});