Remove redundant render calls from controller