private function getRouteAction($attribute)
    {
        return is_array($attribute)
            ? $this->url->route($attribute[0], array_slice($attribute, 1))
            : $this->url->route($attribute);
    }
private function getRouteAction($attribute)
    {
        return is_array($attribute)
            ? $this->url->route($attribute[0], array_slice($attribute, 1))
            : $this->url->route($attribute);
    }
private function getRouteAction ( $ attribute ) { return is_array ( $ attribute ) ? $ this -> url -> route ( $ attribute [ 0 ] , array_slice ( $ attribute , 1 ) ) : $ this -> url -> route ( $ attribute ) ; }
Get the action for a "route" option.

@param  array|string  $attribute

@return string
Get the action for a route option .