public function reset() { $dto = $this->themeService->findThemeByKey(OW::getConfig()->getValue('base', 'selectedTheme')); $this->themeService->resetTheme($dto->getId()); $this->redirect(OW::getRouter()->urlForRoute('admin_themes_edit')); }
public function reset() { $dto = $this->themeService->findThemeByName(OW::getConfig()->getValue('base', 'selectedTheme')); $this->themeService->resetTheme($dto->getId()); $this->redirectToAction('settings'); }