public static String getControllerForResult ( Route route ) { if ( route == null || route . getController ( ) == null ) return Constants . ROOT_CONTROLLER_NAME ; return RouterHelper . getReverseRouteFast ( route . getController ( ) ) . substring ( 1 ) ; }
Getting the controller from the route