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

Ember Application Structure guide does not clarify how and when App.Router is instantiated #1104

Closed
pixelcort opened this issue Jul 2, 2012 · 4 comments

Comments

@pixelcort
Copy link

I'm trying to follow along with the Ember Application Structure guide, which describes how to subclass Ember.Router, however it doesn't specify how and when App.Router is instantiated.

Instead, the guide should note how and when App.Router is instantiated; specifically indicating whether the developer should instantiate an instance of it or if Ember will instantiate one instead.

@pixelcort
Copy link
Author

It looks like calling App.initialize(); causes App.Router to be instantiated. This should probably be documented in this guide, or a mention in this of another guide that explains that it should be called.

@edubkendo
Copy link

+1 I was also very confused by this.

@wagenet
Copy link
Member

wagenet commented Jul 12, 2012

Can you refile this on the website repo?

@wagenet wagenet closed this as completed Jul 12, 2012
@pixelcort
Copy link
Author

Refiled emberjs/website#104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants