public function currentRouteUses($action) { return $this->currentRouteAction() == $action; }
/** * Determine if the current route action matches a given action. * * @param string $action * @return bool * @static */ public static function currentRouteUses($action) { return \Illuminate\Routing\Router::currentRouteUses($action); }