Add optional template override to controllers