Change the way a controller renders to a template