Skip to content

Commit 94bb0c6

Browse files
Merge pull request #334 from achambers/ac/chore/no-implicit-route-model-feature
Add feature for no-implicit-route-model
2 parents 74bcb3f + eb959b0 commit 94bb0c6

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* eslint-disable no-console */
2+
'use strict';
3+
4+
module.exports = {
5+
description: `Removes the default record loading behaviour on Ember's Route.`,
6+
url: 'https://github.com/emberjs/rfcs/pull/774',
7+
default: false,
8+
since: '5.8.0',
9+
};

tests/optional-features-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,15 @@ QUnit.module('@ember/optional-features', (hooks) => {
8282
'application-template-wrapper': false,
8383
'template-only-glimmer-components': true,
8484
'jquery-integration': true,
85+
'no-implicit-route-model': false,
8586
});
8687

8788
let expected = {
8889
EmberENV: {
8990
_APPLICATION_TEMPLATE_WRAPPER: false,
9091
_TEMPLATE_ONLY_GLIMMER_COMPONENTS: true,
9192
_JQUERY_INTEGRATION: true,
93+
_NO_IMPLICIT_ROUTE_MODEL: false,
9294
},
9395
};
9496

0 commit comments

Comments
 (0)