Re: [Rails] Re: Having two paths for a single action with different parameters

2012-11-28 Thread rahul chandra
sure! no problem. On Wednesday, November 28, 2012, sumit srivastava wrote: > Thanks Rahul. If possible could you explain any more cases as I faced. It > would be helpful. > > Regards > Sumit Srivastava > > The power of imagination makes us infinite... > > > On 28 November 2012 15:32, rahul chandr

Re: [Rails] Re: Having two paths for a single action with different parameters

2012-11-28 Thread sumit srivastava
Thanks Rahul. If possible could you explain any more cases as I faced. It would be helpful. Regards Sumit Srivastava The power of imagination makes us infinite... On 28 November 2012 15:32, rahul chandra wrote: > well for understanding, If you add a symbol like(:city) in the routes it > takes

[Rails] Re: Having two paths for a single action with different parameters

2012-11-28 Thread rahul chandra
well for understanding, If you add a symbol like(:city) in the routes it takes that as a variable and whenever you call that route you have to pass a variable like "*list_users_path(:city)*" or *"/users/(:city)".* On Wednesday, November 28, 2012 2:12:12 PM UTC+5:30, Sumit Srivastava wrote: > > H