Displaying 1 result from an estimated 1 matches for "chat_rooms".
2009 Mar 06
2
Routes.recognize_path on more complicated Routes
...dmin/users | Action: 60 | Id: ban -
Incorrect
As you see the ban link has the action and id the wrong way round.
Is there a correct way around this rather than just swapping the 2
values round?
Also when doing a nested route like....
ActionController::Routing::Routes.recognize_path("/admin/chat_rooms/15/quick_chats/new")
It errors saying "Only get, put, and delete requests are allowed." even
though that route works perfectly fine in a view.
The projects currently running on rails 2.0.1 if that helps.
Danny
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~---...