# Rails3 parameters in routes

**URL:** <https://www.ruby-forum.com/t/rails3-parameters-in-routes/186123>\
**Category:** Rails\
**Created:** [March 31, 2010, 9:08pm UTC](https://www.ruby-forum.com/t/rails3-parameters-in-routes/186123 "2010-03-31T21:08:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hjblok](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/7bcc69/32.png) [@hjblok](https://www.ruby-forum.com/u/hjblok)\
**Post date:** [March 31, 2010, 9:08pm UTC](https://www.ruby-forum.com/t/rails3-parameters-in-routes/186123/1 "2010-03-31T21:08:23Z")

</div>

In Rails 2 I was able to specify extra parameters within a route, like  
this:  
map.login “login”, :controller =\> “user\_sessions”, :action =\> “new”,  
:tag\_index =\> true  
The tag\_index would be available in the controller via  
params[:tag\_index].

I’ve searched to find a simular solution within Rails 3, but I’m still  
unable to find it. Does anybody know a solution?

HJ
