Skip to content

Commit

Permalink
Fixing links to accept_language plugin/middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
Wouter van Lelyveld committed Jun 27, 2013
1 parent f5df6e5 commit 8c0fc98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/i18n.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def extract_locale_from_accept_language_header
end end
``` ```


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](https://github.com/iain/http_accept_language/tree/master or even Rack middleware such as Ryan Tomayko's [locale](https://github.com/rack/rack-contrib/blob/master/lib/rack/contrib/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](https://github.com/iain/http_accept_language/tree/master) or even Rack middleware such as Ryan Tomayko's [locale](https://github.com/rack/rack-contrib/blob/master/lib/rack/contrib/locale.rb).


#### Using GeoIP (or Similar) Database #### Using GeoIP (or Similar) Database


Expand Down

0 comments on commit 8c0fc98

Please sign in to comment.