How to redirect with parameters in routing.yml?

后端 未结 0 680
无人及你
无人及你 2021-02-07 16:54

In the routing.yml you can do things like:

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


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