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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.
