lucasefe/themes_for_rails — Issue #44: javascript_path cannot get files with dotted names
Author: spleenteo
Created: 2012-01-24 10:31:36+00:00
State: open

problem using javascript path in Rails 3.1 (never got this problem before)

I know that current_theme_javascript_path('jquery.tools.min') returns the path to a file named query.tools.min.js

In fact, the output html seems to be fine

but misteriously the browser returns this error
"NetworkError: 404 Not Found - http://localhost:3000/themes/current_theme/javascripts/jquery.tools.min.js"

btw, if I remove the dots from the filename renaming it, it works perfectly
current_theme_javascript_path('jquery_tools_min')

I tryed to watch to your code... sorry, I'm a front end developer! :)
Any ideas?