Made :ids and :format separately option.
Merged put, patch and delete into a single if
Created a small utility method collection_routing to check if the Resource is a collection too
Moved collection_routing? to Resource.
Added a flag to Resource to mark collection_routing.
Added a collection_param variable to Resource and added edit_many path.
Now collection routing path generations matches the regular path generation flow.