See http://api.rubyonrails.org/classes/ActionController/Routing.html -
in particular, the section on route globbing.

--Matt Jones

On Oct 5, 10:05 am, Muruga Raj <[email protected]>
wrote:
> Hello all,
>
> I need a suggestion in routes configuration.
>
> My requirement is to get all the parameters after the username in a URL,
> as a one string.
>
> That is, consider my url ishttp://example.com/raj/123/456/789/101
>
> Here 'raj' is the username and i want to extract all the words after
> 'raj' as one parameter. So "123/456/789/101" should be passed as a
> single parameter.
>
> Is it possible?
>
> Please help in finding the solution.
>
> If you have any suggestions please help me !!!
>
> Thank You
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to