Pass controller, action and routeName to controllers.