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

Files not loaded/available in development when filename starts with "+" #43

Closed
JakeTheSnake3p0 opened this issue May 6, 2015 · 1 comment

Comments

@JakeTheSnake3p0
Copy link

I put the + symbol in front of the filename when I want it to have higher priority than the rest of the files in a given asset directory.

Example:

[Rails.root]/app/assets/javascripts/page-specific/invoices/+first.js.erb
[Rails.root]/app/assets/javascripts/page-specific/invoices/an_example.js.erb

I get 404's when using the + symbol only after updating sprockets to the latest release. An easy fix is to use underscores but I thought it was something worth mentioning.

@josh
Copy link
Contributor

josh commented May 10, 2015

I just added a test for a + asset to see what would happen. 992f258 Seems like it works fine. Do you think you could do some more debugging and figure out where its getting messed up. I bet theres some incorrect CGI escaping happening somewhere.

mfazekas pushed a commit to mfazekas/sprockets that referenced this issue Apr 4, 2016
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

No branches or pull requests

3 participants