Module: ActiveScaffold::Actions::BatchDestroy
- Defined in:
- lib/active_scaffold/actions/batch_destroy.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 |
# File 'lib/active_scaffold/actions/batch_destroy.rb', line 4 def self.included(base) base.send :include, ActiveScaffold::Actions::BatchBase unless base < ActiveScaffold::Actions::BatchBase base.before_action :batch_destroy_authorized_filter, :only => [:batch_destroy] end |
Instance Method Details
#batch_destroy ⇒ Object
9 10 11 |
# File 'lib/active_scaffold/actions/batch_destroy.rb', line 9 def batch_destroy batch_action end |