Skip to content

Proper Index

Compare
Choose a tag to compare
@abuiles abuiles released this 12 Apr 17:20
· 173 commits to master since this release

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.