aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-04-08 23:44:26 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-04-09 00:01:27 -0300
commitc9945b3f0a85949f8b9fa1218a868a988e6c4fa6 (patch)
tree2f8870a0f4b4e523d6562ff74a60a854281b3015
parent9efe01ef0d332239f37a211e2351f107de5d235b (diff)
downloadrails-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.textile1
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