Permalink
Browse files

Document that default_url_options must return a hash with symbolized

keys
  • Loading branch information...
1 parent 9efe01e commit c9945b3f0a85949f8b9fa1218a868a988e6c4fa6 @rafaelfranca rafaelfranca committed Apr 9, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 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

0 comments on commit c9945b3

Please sign in to comment.