Patrick Doyle wrote:
> On Sun, Dec 14, 2008 at 10:27 PM, Allen Walker <
> [email protected]> wrote:
>
>>
>> {:action=>"wsdl"} /:controller/:action/:id.:format
>> /:controller/:action/:id
>>
>> So it's not hitting my action "remove_role_from_account" and instead is
>> try to go to action "show" with the id as "remove_role_from_account"
>>
>> what am i doing wrong here?
>> --
>>
> what does the output of:
>
> rake routes
>
> look like?
>
> --wpd
roles GET /roles
{:action=>"index", :controller=>"roles"}
formatted_roles GET
/roles.:format
{:action=>"index", :controller=>"roles"}
POST /roles
{:action=>"create", :controller=>"roles"}
POST
/roles.:format
{:action=>"create", :controller=>"roles"}
new_role GET /roles/new
{:action=>"new", :controller=>"roles"}
formatted_new_role GET
/roles/new.:format
{:action=>"new", :controller=>"roles"}
edit_role GET
/roles/:id/edit
{:action=>"edit", :controller=>"roles"}
formatted_edit_role GET
/roles/:id/edit.:format
{:action=>"edit", :controller=>"roles"}
role GET /roles/:id
{:action=>"show", :controller=>"roles"}
formatted_role GET
/roles/:id.:format
{:action=>"show", :controller=>"roles"}
PUT /roles/:id
{:action=>"update", :controller=>"roles"}
PUT
/roles/:id.:format
{:action=>"update", :controller=>"roles"}
DELETE /roles/:id
{:action=>"destroy", :controller=>"roles"}
DELETE
/roles/:id.:format
{:action=>"destroy", :controller=>"roles"}
{:action=>"wsdl"}
/:controller/:action/:id.:format
/:controller/:action/:id
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---