generalize CRUD routes to take collection parameter
trigger editing views