Rails3 parameters in routes

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs