【发布时间】:2011-08-31 08:27:53
【问题描述】:
由于 ActionController::Base#default_url_options 已弃用,我想知道如何在 rails3 中设置默认 url 选项。默认 url 选项不是静态的,而是依赖于当前请求。
http://apidock.com/rails/ActionController/Base/default_url_options
谢谢, 科林
【问题讨论】:
-
ActionController::Base#default_url_optionsis not deprecated.
标签: ruby-on-rails-3 actioncontroller