search for: contact_url

Displaying 1 result from an estimated 1 matches for "contact_url".

2006 Jul 19
2
SimplyRestful bug?
Hi I have my routes set up like this: map.resource :contact, :path_prefix => "/employers/:employer_id" so now when I view all contacts for an employer I go to: /employers/1/contacts That works. On that page, there''s a problem with the routes: new_contact_url translates to: /employers/1/contacts/new ... so that works. But, contact_url(@contact) gives me /employers/3/contacts .... which is clearly wrong. It should give me something like /employers/1/contacts/3 Is this a bug? Or am I missing something? Routes and simply_restful work fine for me eve...