Skip to content

Commit

Permalink
i18n templates for rails
Browse files Browse the repository at this point in the history
  • Loading branch information
airled committed Apr 26, 2016
1 parent c101a74 commit e19acb0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ gem 'devise'
gem 'bootstrap-kaminari-views'
gem 'slim'
gem 'activeadmin', github: 'activeadmin'
gem 'rails-i18n'

group :development, :test do
gem 'pry'
Expand Down
6 changes: 5 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@ GEM
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.2)
loofah (~> 2.0)
rails-i18n (4.0.8)
i18n (~> 0.7)
railties (~> 4.0)
rails-jquery-autocomplete (1.0.2)
rails (>= 3.2)
railties (4.2.1)
Expand Down Expand Up @@ -318,6 +321,7 @@ DEPENDENCIES
pry
quiet_assets
rails (= 4.2.1)
rails-i18n
rails-jquery-autocomplete
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
Expand All @@ -333,4 +337,4 @@ DEPENDENCIES
web-console (~> 2.0)

BUNDLED WITH
1.10.6
1.11.2
6 changes: 3 additions & 3 deletions app/admin/admin_user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
selectable_column
id_column
column :email
# column :current_sign_in_at
# column :sign_in_count
# column :created_at
column :current_sign_in_at
column :sign_in_count
column :created_at
actions
end

Expand Down
6 changes: 3 additions & 3 deletions app/admin/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
selectable_column
id_column
column :email
# column :current_sign_in_at
# column :sign_in_count
# column :created_at
column :current_sign_in_at
column :sign_in_count
column :created_at
actions
end

Expand Down

0 comments on commit e19acb0

Please sign in to comment.