app/controllers/avo/actions_controller.rb in avo-1.10.0 vs app/controllers/avo/actions_controller.rb in avo-1.10.1

- old
+ new

@@ -9,10 +9,10 @@ def show @model = ActionModel.new @action.get_attributes_for_action end def handle - resource_ids = action_params[:fields][:resource_ids].split(",").map(&:to_i) + resource_ids = action_params[:fields][:resource_ids].split(",") models = @resource.class.find_scope.find resource_ids fields = action_params[:fields].select do |key, value| key != "resource_ids" end