- Drop support for Node 4, 6, 9, and 11.
- Added support for more modern syntax (e.g.
class
and decorators) in theapp/router.js
file
Fix bug so route options object is not generated if there is no valid option.
Add support for resetNamespace
when generating routes. For more info
see #12.
Removes support for resource
routes. Now only route
is supported.
See #11 for more info.
Adds special handling for index routes. When running ember g route foo/index
the generated route will be this.route('foo', function() {})
.
If there is a route like this.route('foo', function() {})
running
ember d route foo/index
will modify it to this.route('foo');
since we
are just removing the index.
For more info see #10.