We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The changes in #10256 breaks the following for me: (using ember-cli)
export default { name: 'foo', initializer: function(container, app) { app.Router.map(function() { this.route('foo'); }); } });
As the router used in the initializer is now destroyed/replaced when app/router is loaded.
app/router
This change fixed it for me:
export default { name: 'foo', initializer: function(container, app) { var Router = container.lookupFactory('router:main'); Router.map(function() { this.route('foo'); }); } });
This issue is probably more of documentation for other people hitting this problem.
The text was updated successfully, but these errors were encountered:
@martndemus - Is this still an issue? Looking at the code, can you see a solution to fix this? If not, how should we document?
Sorry, something went wrong.
This doesn't seem to be a common issue, so I'm going to close this. If someone is interested in pursuing this we can reopen...
No branches or pull requests
The changes in #10256 breaks the following for me: (using ember-cli)
As the router used in the initializer is now destroyed/replaced when
app/router
is loaded.This change fixed it for me:
This issue is probably more of documentation for other people hitting this problem.
The text was updated successfully, but these errors were encountered: