How to redirect with parameters in routing.yml?

后端 未结 0 1480
醉酒成梦
醉酒成梦 2021-02-07 17:10

In the routing.yml you can do things like:

redirect_old_url_to_new:
    pattern:   /old-pattern
    defaults:  
        _controller: FrameworkBundle:Redirect:url         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题