Register controller and action