1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Document that default_url_options must return a hash with symbolized

keys
This commit is contained in:
Rafael Mendonça França 2012-04-08 23:44:26 -03:00
parent 9efe01ef0d
commit c9945b3f0a

View file

@ -152,6 +152,7 @@ You can set global default parameters that will be used when generating URLs wit
<ruby>
class ApplicationController < ActionController::Base
# This method must return a hash with symbolized keys.
def default_url_options
{:locale => I18n.locale}
end