diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-04-08 23:44:26 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-04-09 00:01:27 -0300 |
commit | c9945b3f0a85949f8b9fa1218a868a988e6c4fa6 (patch) | |
tree | 2f8870a0f4b4e523d6562ff74a60a854281b3015 | |
parent | 9efe01ef0d332239f37a211e2351f107de5d235b (diff) | |
download | rails-c9945b3f0a85949f8b9fa1218a868a988e6c4fa6.tar.gz rails-c9945b3f0a85949f8b9fa1218a868a988e6c4fa6.tar.bz2 rails-c9945b3f0a85949f8b9fa1218a868a988e6c4fa6.zip |
Document that default_url_options must return a hash with symbolized
keys
-rw-r--r-- | guides/source/action_controller_overview.textile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guides/source/action_controller_overview.textile b/guides/source/action_controller_overview.textile index d6f39c486d..a76a116103 100644 --- a/guides/source/action_controller_overview.textile +++ b/guides/source/action_controller_overview.textile @@ -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 |