|
|
1
3
无论如何,找到了一个优雅的解决方案: def default_url_options(options = nil)
options ||= {}
options[:format] = :gadget if request.format == :gadget
options
end
|
|
|
Bham · Symfony通过yaml路由名称 8 年前 |
|
|
Abhinav Jha · 如何在jquery帖子的回调中重定向 8 年前 |
|
|
Burst of Ice · 成功身份验证后角度路由不工作 8 年前 |
|
|
RyanIndustries8 · 阵列角度布线5 8 年前 |