You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i run rake js:routes, i get the following error:
rake aborted!
undefined method `split' for #<Journey::Path::Pattern:0x000000077b8a20>
/home/hsps/crm-sages/lib/tasks/js.rake:63:in `block in generate_routes_for_rails_3'
/home/hsps/crm-sages/lib/tasks/js.rake:61:in `generate_routes_for_rails_3'
/home/hsps/crm-sages/lib/tasks/js.rake:8:in `block (2 levels) in <top (required)>'
Tasks: TOP => js:routes
(See full trace by running task with --trace)
I fixed this issue by changing
route.path.split("(")[0]
to
route.path.spec.to_s.split("(")[0]}
The text was updated successfully, but these errors were encountered:
My version of rails is 3.2.13
When i run rake js:routes, i get the following error:
I fixed this issue by changing
to
The text was updated successfully, but these errors were encountered: