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

Prevent multiple initializations #45

Merged
merged 2 commits into from
Oct 27, 2017

Conversation

anehx
Copy link
Contributor

@anehx anehx commented Oct 27, 2017

Somehow the initializer ran twice in some of my acceptance tests which caused the controller hooks to be fired multiple times. This fix should prevent it from reopening the route more than once.

This may also fix #39

@offirgolan
Copy link
Owner

@anehx this is great! Thank you 😄

@offirgolan offirgolan merged commit a4e126b into offirgolan:master Oct 27, 2017
@anehx anehx deleted the initialize-once-fix branch October 30, 2017 08:33
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.

Using this addon inside of an engine causes Route to be reopened twice
2 participants