Method: ActiveAdmin::ResourceController::DataAccess#apply_scoping
- Defined in:
- lib/active_admin/resource_controller/data_access.rb
#apply_scoping(chain) ⇒ Object (protected)
221 222 223 224 225 226 227 228 229 |
# File 'lib/active_admin/resource_controller/data_access.rb', line 221 def apply_scoping(chain) @collection_before_scope = chain if current_scope scope_chain(current_scope, chain) else chain end end |