Move actions from controller to route