We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
:bulkable
RailsAdmin::MainController#bulk_action
1 parent 44451f2 commit 7cbddddCopy full SHA for 7cbdddd
app/controllers/rails_admin/main_controller.rb
@@ -8,7 +8,7 @@ class MainController < RailsAdmin::ApplicationController
8
9
def bulk_action
10
get_model
11
- process(params[:bulk_action]) if params[:bulk_action].in?(RailsAdmin::Config::Actions.all(controller: self, abstract_model: @abstract_model).select(&:bulkable?).collect(&:route_fragment))
+ process(params[:bulk_action]) if params[:bulk_action].in?(RailsAdmin::Config::Actions.all(:bulkable, controller: self, abstract_model: @abstract_model).collect(&:route_fragment))
12
end
13
14
def list_entries(model_config = @model_config, auth_scope_key = :index, additional_scope = get_association_scope_from_params, pagination = !(params[:associated_collection] || params[:all] || params[:bulk_ids]))
0 commit comments