protected function getLinkForReferenceModel(Model $model)
    {
        $routeName = $this->getRouteHelper()->getRouteNameForModelClass(get_class($model), true);

        $action = $this->determineRouteAction($model);

        return route($routeName . '.' . $action, $model->getKey());
    }
protected function getLinkForReferenceModel(Model $model)
    {
        $routeName = $this->getRouteHelper()->getRouteNameForModelClass(get_class($model), true);

        $action = $this->determineRouteAction($model);

        return route($routeName . '.' . $action, $model->getKey());
    }
protected function getLinkForReferenceModel ( Model $ model ) { $ routeName = $ this -> getRouteHelper ( ) -> getRouteNameForModelClass ( get_class ( $ model ) , true ) ; $ action = $ this -> determineRouteAction ( $ model ) ; return route ( $ routeName . '.' . $ action , $ model -> getKey ( ) ) ; }
Returns action link for given model.

@param Model $model
@return string
Returns action link for given model .