Skip to content

Commit

Permalink
Improve README
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala committed Mar 16, 2015
1 parent cf459f5 commit af50d81
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Expand Up @@ -2,7 +2,8 @@ RouteTranslator
===============

[![Gem Version](https://badge.fury.io/rb/route_translator.svg)](http://badge.fury.io/rb/route_translator)
[![Build Status](https://secure.travis-ci.org/enriclluelles/route_translator.png)](http://travis-ci.org/enriclluelles/route_translator)
[![Build Status](https://travis-ci.org/enriclluelles/route_translator.svg?branch=master)](https://travis-ci.org/enriclluelles/route_translator)
[![Code Climate](https://codeclimate.com/github/enriclluelles/route_translator/badges/gpa.svg)](https://codeclimate.com/github/enriclluelles/route_translator)

RouteTranslator is a gem to allow you to manage the translations of your app routes with a simple dictionary format.

Expand Down Expand Up @@ -199,8 +200,6 @@ RouteTranslator.config.host_locales = { 'russia.*' => :ru, '*.com' => :en } #
RouteTranslator.config.host_locales = { '*.com' => :en, 'russia.*' => :ru } # 'russia.com' will have locale :en
```

_As Hash are not ordered in Ruby 1.8, use an ActiveSupport::OrderedHash instead._

If `host_locales` option is set, the following options will be forced (even if you set to true):

```ruby
Expand Down

0 comments on commit af50d81

Please sign in to comment.