Hello,
I am working on Rails 4.1.0. And i have generated leaves_controller and Leave model in my application.
But the application generated routes for leaves as like new_leafe, edit_leaf etc.
Actually I want the singularize string of Leave as Leave only, like new_leave_path, edit_leave_path.
If any idea to singularize class name in Rails, please share.
Thank & Regards, Prachi