Skip to content

Commit

Permalink
Allow routes to be named "object"
Browse files Browse the repository at this point in the history
  • Loading branch information
camerondubas committed Aug 12, 2018
1 parent f099d63 commit 65d66c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ember-routing/lib/system/dsl.js
Expand Up @@ -26,7 +26,7 @@ class DSL {
return true;
}

return ['basic', 'object', 'application'].indexOf(name) === -1;
return ['basic', 'application'].indexOf(name) === -1;
})()
);

Expand Down
2 changes: 1 addition & 1 deletion packages/ember-routing/tests/system/dsl_test.js
Expand Up @@ -17,7 +17,7 @@ moduleFor(
}

['@test should fail when using a reserved route name'](assert) {
let reservedNames = ['basic', 'object', 'application'];
let reservedNames = ['basic', 'application'];

assert.expect(reservedNames.length);

Expand Down

0 comments on commit 65d66c8

Please sign in to comment.