Rest applied to the controller