routes configuration

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 is http://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

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

--Matt Jones

Matt Jones wrote:

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 <rails-mailing-l...@andreas-s.net>

Thank you very much Jones.

That's what i expected.
I added the following in my routes.rb and the problem is solved.

map.profile ':username/*levels', :controller => 'user', :action =>
'profile'.

Thank You