請問路由中的 exposed 是什么意思
/**
* @Route("/index",name="index",options={"expose"=true})
* @Template("WebBundle:Test:redirect.html.twig")
*/
public function indexAction(){
return array();
}
在用FOSJsRoutingBundle的時候,請問大師這個路由里面的 options = {expose = true} 是什么意思???查了官方文檔一直沒有找到
2015-05-18
看上去是FOSjsRoutingBundle特有的參數(shù),參考文檔:https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/blob/master/Resources/doc/index.md