Hi, I am using Rail 1.2. and tying to create a route like below.
:action => :action + '_' + :object,
:object => /[a-z|_]+/
For example, if user access main/show/person/1,
I want to call the show_person method in the main controller.
Are there any way I can refer current value of :action and :object in
I have been googling example, but most of the show how to redirect to
specific action and controller like blog/show/1.
Thanks in advance.