doabit / active_admin_paranoia

This gem extends ActiveAdmin so that batch restore and batch archive actions will be available in resource index page. Also 'All' and 'Archived' scope will be available for resource index page. 'All' scope will show non archived resources and 'Archived' scope will show deleted or archived resources.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

active_admin_paranoia

This gem extends ActiveAdmin so that batch restore and batch archive actions will be available in resource index page. Also 'All' and 'Archived' scope will be available for resource index page. 'All' scope will show non archived resources and 'Archived' scope will show deleted or archived resources.

Installation

This gem assumes that you have already configured paranoia for you desire resource. Add this line to your application's Gemfile:

gem "active_admin_paranoia" , '~> 1.0.11'

And then execute:

$ bundle

Usages

ActiveAdmin.register Post do
  active_admin_paranoia
end

About

This gem extends ActiveAdmin so that batch restore and batch archive actions will be available in resource index page. Also 'All' and 'Archived' scope will be available for resource index page. 'All' scope will show non archived resources and 'Archived' scope will show deleted or archived resources.

License:MIT License


Languages

Language:Ruby 100.0%