a tiny simplification
one more minor change
be able to provide a specific handler callback to respond()
use respond() and res.locals for table details page
the {} can be skipped
i have been wanting to do this for a while