test_app/app/admin/admin_users.rb in activeadmin-mongoid-0.4.0 vs test_app/app/admin/admin_users.rb in activeadmin-mongoid-0.5.0

- old
+ new

@@ -1,20 +1,21 @@ -ActiveAdmin.register AdminUser do - index do - column :email - column :current_sign_in_at - column :last_sign_in_at - column :sign_in_count - default_actions - end +ActiveAdmin.register AdminUser do + index do + column :email + column :current_sign_in_at + column :last_sign_in_at + column :sign_in_count + actions + end - filter :email + filter :email + filter :posts - form do |f| - f.inputs "Admin Details" do - f.input :email - f.input :password - f.input :password_confirmation - end - f.actions - end -end + form do |f| + f.inputs "Admin Details" do + f.input :email + f.input :password + f.input :password_confirmation + end + f.actions + end +end