Permalink
Browse files

fixed little bug, need more extensive tests!

  • Loading branch information...
1 parent 35b3c50 commit 912d41656f438a93e1320dc48f6893bf993bf39d @cice cice committed Sep 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/route_translator.rb
View
@@ -313,7 +313,7 @@ def i18n *locales
# called by before_filter
def set_locale_from_url
I18n.locale = params[RouteTranslator::LOCALE_PARAM_KEY]
- default_url_options({RouteTranslator::LOCALE_PARAM_KEY => I18n.locale })
+ default_url_options.merge! RouteTranslator::LOCALE_PARAM_KEY => I18n.locale
end
end

0 comments on commit 912d416

Please sign in to comment.