pass controller instance to batch_action block