public function publishAction(Request $request, Application $app)
    {
        $options = array(
            "request" => $request,
            "page_manager" => $app["red_kite_cms.page_manager"],
            "username" => $this->fetchUsername($app["security"], $app["red_kite_cms.configuration_handler"]),
        );

        return parent::publish($options);
    }
public function publishAction(Request $request, Application $app)
    {
        $options = array(
            "request" => $request,
            "page_manager" => $app["red_kite_cms.page_manager"],
            "username" => $this->fetchUsername($app["security"], $app["red_kite_cms.configuration_handler"]),
        );

        return parent::publish($options);
    }
public function publishAction ( Request $ request , Application $ app ) { $ options = array ( "request" => $ request , "page_manager" => $ app [ "red_kite_cms.page_manager" ] , "username" => $ this -> fetchUsername ( $ app [ "security" ] , $ app [ "red_kite_cms.configuration_handler" ] ) , ) ; return parent :: publish ( $ options ) ; }
Publish page action

@param \Symfony\Component\HttpFoundation\Request $request
@param \Silex\Application                        $app
@return \Symfony\Component\HttpFoundation\Response
Publish page action