Class: Spotlight::LockController

Inherits:
ApplicationController show all
Defined in:
app/controllers/spotlight/lock_controller.rb

Instance Method Summary collapse

Methods included from Controller

#blacklight_config, #current_exhibit, #exhibit_search_action_url, #exhibit_search_facet_url, #search_action_url, #search_facet_url

Methods included from Config

#exhibit_specific_blacklight_config

Instance Method Details

#destroyObject

DELETE /locks/1



6
7
8
9
10
# File 'app/controllers/spotlight/lock_controller.rb', line 6

def destroy
  @lock.destroy

  render text: "", status: 204
end