public function defaultAction()
    {
        $themeName = $this->params()->fromRoute('theme');
        if (! $themeName) {
            $this->flashMessenger()->addMessage(
                $this->scTranslate('Theme was not specified.')
            );
            return $this->redirect()
                ->toRoute('sc-admin/theme')
                ->setStatusCode(303);
        }
        $side = $this->params()->fromRoute('side', 'frontend');
        $service = $this->getThemeService();
        if (! $service->setDefault($themeName, $side)) {
            foreach ($service->getMessages() as $message) {
                $this->flashMessenger()->addMessage($message);
            }
        }
        return $this->redirect()->toRoute('sc-admin/theme');
    }