Isn't this code controller specific?
Other actions such as `editAction` don't do that.