Class: BatchDeleteController

Inherits:
ApplicationController show all
Defined in:
frontend/app/controllers/batch_delete_controller.rb

Instance Method Summary (collapse)

Methods inherited from ApplicationController

can_access?, permission_mappings, set_access_control

Instance Method Details

- (Object) agents



21
22
23
# File 'frontend/app/controllers/batch_delete_controller.rb', line 21

def agents
  delete_records(params[:record_uris])
end

- (Object) archival_records



13
14
15
# File 'frontend/app/controllers/batch_delete_controller.rb', line 13

def archival_records
  delete_records(params[:record_uris])
end

- (Object) classifications



25
26
27
# File 'frontend/app/controllers/batch_delete_controller.rb', line 25

def classifications
  delete_records(params[:record_uris])
end

- (Object) locations



9
10
11
# File 'frontend/app/controllers/batch_delete_controller.rb', line 9

def locations
  delete_records(params[:record_uris])
end

- (Object) subjects



17
18
19
# File 'frontend/app/controllers/batch_delete_controller.rb', line 17

def subjects
  delete_records(params[:record_uris])
end