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

Fix adding not-found route #24

Merged
merged 1 commit into from
Aug 5, 2020
Merged

Fix adding not-found route #24

merged 1 commit into from
Aug 5, 2020

Conversation

simonihmig
Copy link
Member

The previous implementation used a simple find-and-replace like solution, which was easy to break when the default file contents changed a bit. This was the case now, as the default blueprint writes the call in a single line, which did not match anymore:

Router.map(function () {});

Now this uses the standard AST-based ember library for router generation.

The previous implementation used a simple find-and-replace like solution, which was easy to break when the default file contents changed a bit. This was the case now, as the default blueprint writes the call in a single line, which did not match anymore:

```
Router.map(function () {});
```

Now this uses the standard AST-based ember library for router generation.
@simonihmig simonihmig requested a review from lolmaus August 5, 2020 12:54
@simonihmig simonihmig merged commit bece38c into master Aug 5, 2020
@simonihmig simonihmig deleted the fix-roouter branch August 5, 2020 13:03
@lolmaus
Copy link
Contributor

lolmaus commented Aug 17, 2020

Crazy stuff!

@simonihmig simonihmig added the bug Something isn't working label Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants