original_string: protected function getLinkForReferenceModel(Model $model)
      {
          $routeName = $this->getRouteHelper()->getRouteNameForModelClass(get_class($model), true);
  
          $action = $this->determineRouteAction($model);
  
          return route($routeName . '.' . $action, $model->getKey());
      }
code: protected function getLinkForReferenceModel(Model $model)
      {
          $routeName = $this->getRouteHelper()->getRouteNameForModelClass(get_class($model), true);
  
          $action = $this->determineRouteAction($model);
  
          return route($routeName . '.' . $action, $model->getKey());
      }
code_tokens: protected function getLinkForReferenceModel ( Model $ model ) { $ routeName = $ this -> getRouteHelper ( ) -> getRouteNameForModelClass ( get_class ( $ model ) , true ) ; $ action = $ this -> determineRouteAction ( $ model ) ; return route ( $ routeName . '.' . $ action , $ model -> getKey ( ) ) ; }
docstring: Returns action link for given model.
  
  @param Model $model
  @return string
docstring_tokens: Returns action link for given model .