diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-04-08 23:54:59 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-04-09 00:02:59 -0300 |
commit | 6f4f499845ad1eb14a0fdc4f495ee33b0c22ed8a (patch) | |
tree | 693c54d114ddb6b673f5bd0f248cbeec950fea62 /railties/guides | |
parent | 5c7bcfc111275087d428e7f446d10bf31f1c841c (diff) | |
download | rails-6f4f499845ad1eb14a0fdc4f495ee33b0c22ed8a.tar.gz rails-6f4f499845ad1eb14a0fdc4f495ee33b0c22ed8a.tar.bz2 rails-6f4f499845ad1eb14a0fdc4f495ee33b0c22ed8a.zip |
Document that default_url_options must return a hash with symbolized
keys
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/action_controller_overview.textile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/guides/source/action_controller_overview.textile b/railties/guides/source/action_controller_overview.textile index 6b90ddce5a..99a3480e6d 100644 --- a/railties/guides/source/action_controller_overview.textile +++ b/railties/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 |