README.md in rails-asset-localization-0.1.0 vs README.md in rails-asset-localization-0.2.0

- old
+ new

@@ -1,13 +1,23 @@ # RailsAssetLocalization +[![Gem Version](https://badge.fury.io/rb/rails-asset-localization.png)](http://badge.fury.io/rb/rails-asset-localization) + A Rails Engine that allows you to use i18next with the asset pipeline. Locales are served dynamically to allow easy integration with services like [CopyCopter][1]. ## Basic Setup Add this to your `Gemfile`: - gem 'rails-asset-localization', git: 'git@github.com:nicolai86/rails-asset-localization.git', branch: :master +``` ruby +gem 'rails-asset-localization', git: 'git@github.com:nicolai86/rails-asset-localization.git', branch: :master +``` + +and this to your `routes`: + +``` ruby +mount RailsAssetLocalization::Engine => "/locales" +``` Your locales are now available under `/locales/:locale` Now you need to load i18next: ``` coffeescript \ No newline at end of file