public function settingsAction(Request $request, BasePage $blog)
    {
        $form = $this->getSettingsForm($blog);

        $form->handleRequest($request);
        if ($request->isMethod('POST')) {
            if ($form->isValid()) {
                $this->getDoctrine()->getManager()->flush();
                $form = $this->getSettingsForm($blog);
            } else {
                $this->warn('error_occured');
            }
        }

        return $this->render(
            'VictoireBlogBundle:Blog/Tabs:_settings.html.twig',
            [
                'blog'               => $blog,
                'form'               => $form->createView(),
                'businessProperties' => [],
            ],
            new Response(null, 200, [
                'X-Inject-Alertify' => true,
            ])
        );
    }