injectIn method
Adds this handler to the given router with Method.get and path '/'
Override to add differently.
Implementation
@override
void injectIn(final RelicRouter router) {
final path = entity is Directory ? '/**' : '/';
router.anyOf({Method.get, Method.head}, path, call);
}