Topic: Routing in Ruby On Rails
Suppose If a User Types a Invalid Url in The Browser .Consider My application Path is
http://localhost:3000/users/new
But Instead of That if somebody types like this
http://localhost:3000/users/new/cdcdcdcd/dcdcdcd
What i want to do is Either i should redirect them to Index Page of my application or i should
show them 404 error pages saying That The File You Requested is not found,.I think This can be done using some settings in routes.rb file in config folder.But i dont know exactly how this can be done
Can anyone of u help me on this issue