Skip to content
This repository was archived by the owner on Nov 30, 2018. It is now read-only.

Commit f87f6f9

Browse files
committed
Readme updated for rails 3 version
1 parent 630811c commit f87f6f9

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ Makes it easy to translate your resource fields.
44
## Installation
55

66
```ruby
7-
gem "activeadmin-globalize", github: 'stefanoverna/activeadmin-globalize',
8-
branch: 'master'
7+
gem 'activeadmin-globalize', '~> 0.6.3'
98
```
10-
We still need to use GitHub because ActiveAdmin is still in active development
11-
and there's no released gem compatible with Rails 4.
9+
10+
This version targets Rails 3.2.x only and ActiveAdmin ~> 0.6.3.
1211

1312
## Your model
1413

@@ -20,13 +19,11 @@ end
2019
## Editor configuration
2120

2221
```ruby
23-
# if you are using Rails 4 or Strong Parameters:
24-
permit_params translations_attributes: [:locale, :title, :content]
25-
26-
2722
index do
28-
# ...
23+
# textual translation status
2924
translation_status
25+
# or with flag icons
26+
translation_status_flags
3027
# ...
3128
default_actions
3229
end
@@ -54,3 +51,7 @@ to symbol (in application.rb)
5451

5552
config.i18n.available_locales = [:en, :it, :de, :es, :"pt-BR"]
5653

54+
## Credits
55+
56+
This work is based on original idea by [@stefanoverna](https://github.com/stefanoverna/activeadmin-globalize),
57+
I needed it for AA 0.6.x so I forked the original project.

0 commit comments

Comments
 (0)