Class: Spotlight::BulkActionsController
- Inherits:
-
CatalogController
- Object
- CatalogController
- Spotlight::BulkActionsController
- Defined in:
- app/controllers/spotlight/bulk_actions_controller.rb
Overview
Controller enabling bulk functionality for search results
Instance Method Summary collapse
Instance Method Details
#add_tags ⇒ Object
10 11 12 |
# File 'app/controllers/spotlight/bulk_actions_controller.rb', line 10 def handle_bulk_action_with_job(Spotlight::AddTagsJob, tags: ) end |
#change_visibility ⇒ Object
18 19 20 |
# File 'app/controllers/spotlight/bulk_actions_controller.rb', line 18 def change_visibility handle_bulk_action_with_job(Spotlight::ChangeVisibilityJob, visibility: change_visibility_params) end |
#remove_tags ⇒ Object
14 15 16 |
# File 'app/controllers/spotlight/bulk_actions_controller.rb', line 14 def handle_bulk_action_with_job(Spotlight::RemoveTagsJob, tags: ) end |