When i ask rake to show me the routes for the application, one of my
controllers seem end up with a lot of duplicate routes:
(...)
PUT /contracts/:id/cancel
{:controller=>"contracts", :action=>"do_cancel"}
GET /contracts/:id/cancel
{:controller=>"contracts", :action=>"cancel"}
PUT /contracts/:id/cancel
{:controller=>"contracts", :action=>"do_cancel"}
GET /contracts/:id/cancel
{:controller=>"contracts", :action=>"cancel"}
PUT /contracts/:id/cancel
{:controller=>"contracts", :action=>"do_cancel"}
GET /contracts/:id/cancel
{:controller=>"contracts", :action=>"cancel"}
do_contract_cancel PUT /contracts/:id/cancel
{:controller=>"contracts", :action=>"do_cancel"}
contract_cancel GET /contracts/:id/cancel
{:controller=>"contracts", :action=>"cancel"}
(...)
The routes before and after seem fine. Why all the unnamed duplicate
routes, before the final two routes - which does make sense?
~Ronny
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---