I accidentally deleted my routes.rb file. Lots of code were there. Is there any way to get back routes.rb file?
I think we need some more information. Specifically:
If you're not backing up your information, this is going to happen and it's going to be terrible. I strongly advise you to start using Git (and Github) if you aren't already, to prevent this from happening in the future.