Skip to content

Commit

Permalink
i18n guide: fix external link to rack locale
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimeiniesta authored and fxn committed Nov 21, 2010
1 parent be05561 commit ebac0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/i18n.textile
Expand Up @@ -278,7 +278,7 @@ def extract_locale_from_accept_language_header
end
</ruby>

Of course, in a production environment you would need much more robust code, and could use a plugin such as Iain Hecker's "http_accept_language":http://github.com/iain/http_accept_language/tree/master or even Rack middleware such as Ryan Tomayko's "locale":http://github.com/rtomayko/rack-contrib/blob/master/lib/rack/locale.rb.
Of course, in a production environment you would need much more robust code, and could use a plugin such as Iain Hecker's "http_accept_language":http://github.com/iain/http_accept_language/tree/master or even Rack middleware such as Ryan Tomayko's "locale":http://github.com/rack/rack-contrib/blob/master/lib/rack/contrib/locale.rb.

h5. Using GeoIP (or Similar) Database

Expand Down

0 comments on commit ebac0f4

Please sign in to comment.