I unable to follow DRY principle. I struck in situation where actions
are same but controller are different.Wait,let me explain you with
As you see in above URLs second last parameter is changing every time .
How to tackle such situation.
Currently i thought to use scope method in config/route.rb or i will
create separate controller for each /xyz/ , /mnb/ , /xkj/ .
How do you solve such problem ? It will be good if you tell me way which
follow DRY and flexible too.