public function routeNameForRubricAction(Rubric $rubric, $action = 'index') { if (!$action) { $action = 'index'; } return $rubric->getRubricFullPathCode() . '_' . $action; }
protected function prepareRouteName($name) { return ($this->allowMultiple && $this->rubric ? $this->prepareRubricPath($this->rubric->getFullPath()) . '_' : '') . $name; }