# Named routes problem

**URL:** <https://www.ruby-forum.com/t/named-routes-problem/141276>\
**Category:** Rails\
**Created:** [June 24, 2008, 8:50am UTC](https://www.ruby-forum.com/t/named-routes-problem/141276 "2008-06-24T08:50:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![balavrscse](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/a88e4f/32.png) [@balavrscse](https://www.ruby-forum.com/u/balavrscse)\
**Post date:** [June 24, 2008, 8:50am UTC](https://www.ruby-forum.com/t/named-routes-problem/141276/1 "2008-06-24T08:50:13Z")

</div>

Hello everybody,

```
           I have one doubt,In routes i have mentioned as following,

   map.blogpost ':controller/:action/:id',
        :controller => 'a',
        :action => 'blogpost'

   map.help_pages ':controller/:action/:fn',
        :controller => 'a',
        :action => 'help_pages'

```

is that correct or wrong? because if i put like this then the blog is  
working perfectly.if i put the help\_pages on the top then the help pages  
working perfectly.because the format of routes is same but the name and  
parameters name is being different.how to resolve this.Please anyone  
know the solution for this please let me know.

Thanks & Regards,  
V.Balakrishnan
