framework/RedKiteCms/Rendering/Controller/Theme/SaveThemeController.php
public function save(array $options)
    {
        $resolver = new OptionsResolver();
        $this->configureOptions($resolver);
        $this->options = $resolver->resolve($options);

        $pluginManager = $options["plugin_manager"];
        $options["theme_deployer"]
            ->boot($pluginManager->getActiveTheme())
            ->deploy()
        ;

        return $this->buildJSonResponse(array());
    }
public function save(array $options)
    {
        $resolver = new OptionsResolver();
        $this->configureOptions($resolver);
        $this->options = $resolver->resolve($options);

        $pluginManager = $options["plugin_manager"];
        $options["theme_deployer"]
            ->boot($pluginManager->getActiveTheme())
            ->deploy()
        ;

        return $this->buildJSonResponse(array());
    }
Implements the action to save the theme
@param array $options

@return \Symfony\Component\HttpFoundation\Response