# Couldn't find Admin with ID=list

**URL:** <https://www.ruby-forum.com/t/couldnt-find-admin-with-id-list/146553>\
**Category:** Rails\
**Created:** [August 22, 2008, 9:10am UTC](https://www.ruby-forum.com/t/couldnt-find-admin-with-id-list/146553 "2008-08-22T09:10:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shruti\_m.upadhyay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b9bd4f/32.png) [@shruti\_m.upadhyay](https://www.ruby-forum.com/u/shruti_m.upadhyay)\
**Post date:** [August 22, 2008, 9:10am UTC](https://www.ruby-forum.com/t/couldnt-find-admin-with-id-list/146553/1 "2008-08-22T09:10:50Z")

</div>

when i show list og products i got 'Couldn’t find Admin with ID=list ’  
error.so plz give the solution for this error

---

<div class="post-metadata">

**Author:** ![shruti\_m.upadhyay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b9bd4f/32.png) [@shruti\_m.upadhyay](https://www.ruby-forum.com/u/shruti_m.upadhyay)\
**Post date:** [August 22, 2008, 9:55am UTC](https://www.ruby-forum.com/t/couldnt-find-admin-with-id-list/146553/2 "2008-08-22T09:55:55Z")

</div>

You are using REST routes.  
Look at config/routes.rb and you will see something like that:

controller\_name.resources

Look at this: [http://nubyonrails.com/articles/peepcode-rest-basics](http://nubyonrails.com/articles/peepcode-rest-basics)

If you want action list you must put:

controller\_name.resources, :member =\> {:list =\> :get}

On 22 ago, 08:58, “shruti m.upadhyay” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![shruti\_m.upadhyay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b9bd4f/32.png) [@shruti\_m.upadhyay](https://www.ruby-forum.com/u/shruti_m.upadhyay)\
**Post date:** [October 14, 2008, 10:15am UTC](https://www.ruby-forum.com/t/couldnt-find-admin-with-id-list/146553/3 "2008-10-14T10:15:32Z")

</div>

david wrote:

> You are using REST routes.  
> Look at config/routes.rb and you will see something like that:
> 
> controller\_name.resources
> 
> Look at this: [http://nubyonrails.com/articles/peepcode-rest-basics](http://nubyonrails.com/articles/peepcode-rest-basics)
> 
> If you want action list you must put:
> 
> controller\_name.resources, :member =\> {:list =\> :get}
> 
> On 22 ago, 08:58, “shruti m.upadhyay” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

same problem here can u suggest, how did u solved ?

---

<div class="post-metadata">

**Author:** ![shruti\_m.upadhyay](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b9bd4f/32.png) [@shruti\_m.upadhyay](https://www.ruby-forum.com/u/shruti_m.upadhyay)\
**Post date:** [October 14, 2008, 10:16am UTC](https://www.ruby-forum.com/t/couldnt-find-admin-with-id-list/146553/4 "2008-10-14T10:16:21Z")

</div>

> same problem here can u suggest, how did u solve ?
