return redirect(routes.PermissionRefusalController.indexFilter());
}
}
return null;
}
<BUG>public static Result view(Long id) {
return ok(
view.render(
models.PermissionRefusal.findById(id), User.findByEmail(request().username())</BUG>
)

return redirect(routes.PermissionRefusalController.indexFilter());
}
}
return null;
}
public static Result view(Long id) {
PermissionRefusal refusal = PermissionRefusal.findById(id);
if (refusal == null) return notFound("There is no Permission Refusal with ID " +id);
return ok(
view.render(refusal, User.findByEmail(request().username())
)
