From c9945b3f0a85949f8b9fa1218a868a988e6c4fa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Sun, 8 Apr 2012 23:44:26 -0300 Subject: [PATCH] Document that default_url_options must return a hash with symbolized keys --- guides/source/action_controller_overview.textile | 1 + 1 file changed, 1 insertion(+) 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 class ApplicationController < ActionController::Base + # This method must return a hash with symbolized keys. def default_url_options {:locale => I18n.locale} end