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

[BUGFIX] fix detection of static files to allow periods in urls #1399

Merged
merged 1 commit into from
Jul 17, 2014

Conversation

joostdevries
Copy link
Member

Changes the logic to detect whether we're serving an asset so you can still have periods in your application routes.

.set('accept', 'text/html')
.expect(200)
.expect('Content-Type', /html/)
.end(function(err,res) {
Copy link
Member

Choose a reason for hiding this comment

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

JSHint is erroring because you are defining res here, but are not using it.

@joostdevries joostdevries changed the title Allow periods in url [BUGFIX] fix detection of static files to allow periods in urls Jul 17, 2014
@joostdevries
Copy link
Member Author

@rjackson this should be good to merge now.

stefanpenner added a commit that referenced this pull request Jul 17, 2014
[BUGFIX] fix detection of static files to allow periods in urls
@stefanpenner stefanpenner merged commit dcadf5b into ember-cli:master Jul 17, 2014
@stefanpenner
Copy link
Contributor

👍

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.

None yet

3 participants