Always use original url_for when generating direct routes
Action View overrides `url_for` in the view context to render paths by default when using `url_for` and this means that direct route helpers don't get the full url when called with the url suffix. To fix this always call the original `url_for`.
Showing
想要评论请 注册 或 登录