From af50d8109522cb5dde61a434eb6331ff011fd199 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Mon, 16 Mar 2015 20:28:21 +0100 Subject: [PATCH] Improve README --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8db42b79..b2493a67 100755 --- a/README.md +++ b/README.md @@ -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. @@ -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