Skip to content

Commit

Permalink
Merge pull request #334 from achambers/ac/chore/no-implicit-route-mod…
Browse files Browse the repository at this point in the history
…el-feature

Add feature for no-implicit-route-model
  • Loading branch information
NullVoxPopuli authored Feb 2, 2024
2 parents 74bcb3f + eb959b0 commit 94bb0c6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions features/no-implicit-route-model.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* eslint-disable no-console */
'use strict';

module.exports = {
description: `Removes the default record loading behaviour on Ember's Route.`,
url: 'https://github.com/emberjs/rfcs/pull/774',
default: false,
since: '5.8.0',
};
2 changes: 2 additions & 0 deletions tests/optional-features-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,15 @@ QUnit.module('@ember/optional-features', (hooks) => {
'application-template-wrapper': false,
'template-only-glimmer-components': true,
'jquery-integration': true,
'no-implicit-route-model': false,
});

let expected = {
EmberENV: {
_APPLICATION_TEMPLATE_WRAPPER: false,
_TEMPLATE_ONLY_GLIMMER_COMPONENTS: true,
_JQUERY_INTEGRATION: true,
_NO_IMPLICIT_ROUTE_MODEL: false,
},
};

Expand Down

0 comments on commit 94bb0c6

Please sign in to comment.