몇 가지 기능을 추가하려면 FOSUserBundle의 ProfileController
을 재정의해야합니다.FOSUserBundle에서 ProfileController를 재정의하는 방법
컨트롤러를 어떻게 무시할 수 있습니까?
class MyBundle extends Bundle
{
public function getParent()
{
return 'FOSUserBundle';
}
}
을 그리고 같은 이름을 가진 컨트롤러를 만들 :
답변은 다음 링크에 있습니다. http : //stackoverflow.com/questions/21094367/fosuserbundle-override-action-of-a-controller – razzek
다음 링크 참조 : http : //stackoverflow.com/questions/21094367/ fosuserbundle-override-of-a-controller – razzek