Actions
Defect #13412
closedRouting error for GET "/javascripts/i18n/jquery.ui.datepicker-en-gb.js"
Defect #13412:
Routing error for GET "/javascripts/i18n/jquery.ui.datepicker-en-gb.js"
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Resolution:
Invalid
Affected version:
Description
Steps to reproduce
Use en-gb locale
Create an issue
GET /issues/{id}
Log contains:
Started GET "/javascripts/i18n/jquery.ui.datepicker-en-gb.js" for 127.0.0.1 at 2013-03-09 16:51:25 +0000 ActionController::RoutingError (No route matches [GET] "/javascripts/i18n/jquery.ui.datepicker-en-gb.js"): actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' ...
However there is a jquery.ui.datepicker-en-GB.js. So it appears that this asset routes are case-sensitive.
I'm not sure what the best way to go about fixing this is. Renaming the file to all downcase did fix it. Alternatively https://github.com/carstengehling/route_downcaser might be a solution.
Actions