…resource_url, collection_url, parent_url, root_url
Implemented a resource class priority system for namespaced controllers, for instance if you got a controller called: Admin::GroupController First priority for the resource will be the namespaced model, i.e.: Admin::Group Second priority for the resource is the camelcased model, i.e.: AdminGroup Otherwise it will use the controller's name, or fail with a TypeError, i.e.: Group
In #build_reaouce and #update the params were found by instance_name, which required the instance name to have the same name as the controller (including namespaces). This is no longer the case, it is now automatically found from the controller's name, thus users are free to modify the instance name, furthermore controller namespaces is much better supported.
…n be accessible in views
…hen using slugs)