-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
JavaScript asset not found if directory has extension (.js) #18859
Comments
I.e. I copied uri.js to uri to try. |
Can you please provide a sample application that reproduces the error? |
https://github.com/ledestin/rails-bug-18859 URL of interest is /assets/uri.js. It works if I add |
Just tried this with the sample app - both /assets/uri and /assets/uri.js seem to work for me. |
Maybe you're not using |
This seems to be a sprockets issue. Could you open an issue there? Thanks. |
Tried installing uri.js with Bower, and /assets/uri.js is not found by Rails. On the other hand, /assets/uri works without a hitch.
The text was updated successfully, but these errors were encountered: