protected function generateRoutes() { parent::generateRoutes(); if ($this->options['with_export']) { $routeName = $this->options['name'].'_export'; $this->routes[$routeName] = $this->getRouteForExport(); } }
protected function getDefaultActions() { $actions = parent::getDefaultActions(); $actions[] = 'deleteConfirm'; return $actions; }