simplify render in controllers