Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC] Add missing closing bracket in RouterService docs #20276

Conversation

bertdeblock
Copy link
Member

Also added a few minor improvements along the way if that's okay.

@@ -454,12 +454,12 @@ class RouterService<R extends Route> extends Service.extend(Evented) {
import Route from '@ember/routing';
import { service } from '@ember/service';

export default class extends Route {
export default class ContactFormRoute extends Route {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So it matches the output of ember g route contact-form.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes please. I find the anonymous class thing quite annoying; these were just the result of copying/moving existing docs.

@bertdeblock bertdeblock force-pushed the add-missing-closing-bracket-in-router-service-docs branch from f7d91fe to f28818f Compare November 22, 2022 09:11
@bertdeblock bertdeblock changed the title [DOC]: Add missing closing bracket in RouterService docs [DOC] Add missing closing bracket in RouterService docs Nov 22, 2022
Copy link
Contributor

@chriskrycho chriskrycho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💙

@@ -454,12 +454,12 @@ class RouterService<R extends Route> extends Service.extend(Evented) {
import Route from '@ember/routing';
import { service } from '@ember/service';

export default class extends Route {
export default class ContactFormRoute extends Route {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes please. I find the anonymous class thing quite annoying; these were just the result of copying/moving existing docs.

@chriskrycho chriskrycho merged commit af61302 into emberjs:master Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants