fixes #8228 - add a concern to serve config_templates controllers

...
Please use meaningful variables, t -> template, tk -> template_kind.