moved the controller to the route section in the config