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