When you accidentally uppercase any of your routes or create uppercased route using ember-cli the application will crash without any clear information what's wrong. This rule makes it more obvious, so you don't have to think about it any more.
Examples of incorrect code for this rule:
this.route('Home');
this.route('SignUp');
Examples of correct code for this rule:
this.route('home');
this.route('sign-up');
# Raise an error when there is a route with uppercased letters in router.js (no-capital-letters-in-routes) When you accidentally uppercase any of your routes or create uppercased route using ember-cli the application will crash without any clear information what's wrong. This rule makes it more obvious, so you don't have to think about it any more. ## Rule Details Examples of **incorrect** code for this rule: ```js this.route('Home'); this.route('SignUp'); ``` Examples of **correct** code for this rule: ```js this.route('home'); this.route('sign-up'); ```