阅读背景:

配置中没有重定向的角别名路由

来源:互联网 

I'm probably just missing something simple, but I want to alias my routes. I am trying to get the route /hello_world to just forward to the existing route of /posttemplate. I want to be able to alias my routes like this to give users and easy to remember way to get to dynamic links... Like Permalinks in blogs. Also, this is sort of a separate question, does anyone know of a good way in angular to define all these routes in a json file or xml or something that will keep this clean as I add many routes to it? I'm probably just missing something simple, but




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: