make filter an optional parameter
simplify
add field_type if it’s a leaf
make an EntityType roots scope
EntityTypesController#index should only return roots
prefer scope macro in this case
remove unnecessary Set