You generally don't want to commit commented out code that you're not using, if you can help it, unless it's a wip (work in progress) commit. In this case, this code is present in the controller above so you don't need to preserve it here.