Example #1
0
 /**
  * Redirects to the given route.
  *
  * @param $route
  * @param array $properties
  * @return mixed
  * @throws \Sectorr\Core\Exceptions\RouteNotFoundException
  */
 public static function route($route, $properties = [])
 {
     return self::url(Route::findRoute($route, $properties));
 }