# Problem with named routes

**URL:** <https://www.ruby-forum.com/t/problem-with-named-routes/190905>\
**Category:** Rails\
**Created:** [June 30, 2010, 2:05pm UTC](https://www.ruby-forum.com/t/problem-with-named-routes/190905 "2010-06-30T14:05:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kingston](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e8c25b/32.png) [@kingston](https://www.ruby-forum.com/u/kingston)\
**Post date:** [June 30, 2010, 2:05pm UTC](https://www.ruby-forum.com/t/problem-with-named-routes/190905/1 "2010-06-30T14:05:43Z")

</div>

hello,  
I am facing a problem in while defining named routes  
Here is my code in config/routes.rb

map.addon ‘/addons’,:controller =\> ‘settings’,:action =\> ‘addons’  
map.demonstration ‘/demonstrations’,:controller =\> ‘settings’,:action  
=\> ‘demonstrations’  
map.support ‘/supports’,:controller =\> ‘settings’,:action =\>  
‘supports’  
map.overview ‘/overviews’,:controller =\> ‘settings’,‘action’ =\>  
‘overviews’  
map.download ‘/downloads’ ,:controller =\> ‘settings’ ,‘action’ =\>  
‘downloads’  
map.documentation ‘/documentations’,:controller =\> ‘settings’,:action  
=\> ‘documentations’

Now when I try to access the /overviews page I get the following errors  
Unknown action

No action responded to index. Actions: addons, demonstrations,  
documentations, downloads, overviews, and supports

so I ran rake routes and found that this

addon /addons {:action=\>“addons”,:controller=\>“settings”}

demonstration /demonstrations {:action=\>“demonstrations”,  
:controller=\>“settings”}

support /supports {:action=\>“supports”,:controller=\>“settings”}

**overview /overviews {:action=\>“index”, :controller=\>“settings”,  
“action”=\>“overviews”}**

**download /downloads {:action=\>“index”, :controller=\>“settings”,  
“action”=\>“downloads”}**

documentation /documentations  
{:action=\>“documentations”,:controller=\>“settings”}

Look that rake routes generated for ‘/overviews’ and ‘/downloads’ which  
is weird in my sense

I have define named routes many times never such weird info in rake  
routes neither the above error

Any help would be appreciated
