resource_class_name not working for every model name (Ie -> Y)
Created by: jalberto
I have a model Ie, Administrate generate the controller (ies), routes, and dashboard properly, but when I visit 'admin/ies' I get:
uninitialized constant Y
I think the issue is located here:
https://github.com/thoughtbot/administrate/blob/master/lib/administrate/resource_resolver.rb#L15
"admin/ies".singularize #=> 'admin/y' "ies".singularize #=> 'ie'
So #singularize must be call after split ant not before