README.md in i18n-js-3.0.4 vs README.md in i18n-js-3.0.5
- old
+ new
@@ -62,10 +62,10 @@
<%# Unlike the Asset Pipeline example, you need to require both **in order** %>
<%= javascript_include_tag "i18n" %>
<%= javascript_include_tag "translations", skip_pipeline: true %>
```
-**There are two ways to get `translations.js`.**
+**There are two ways to get `translations.js` (For Rails app without Asset Pipeline).**
1. This `translations.js` file can be automatically generated by the `I18n::JS::Middleware`.
Just add `config.middleware.use I18n::JS::Middleware` to your `config/application.rb` file.
2. If you can't or prefer not to generate this file,
you can move the middleware line to your `config/environments/development.rb` file