Class: Spotlight::LockController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- Spotlight::LockController
- Defined in:
- app/controllers/spotlight/lock_controller.rb
Overview
Locking mechanism for page-level locks
Instance Method Summary collapse
-
#destroy ⇒ Object
DELETE /locks/1.
Methods included from Controller
#blacklight_config, #current_exhibit, #current_masthead, #current_masthead=, #default_masthead?, #exhibit_masthead?, #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
#destroy ⇒ Object
DELETE /locks/1
8 9 10 11 12 |
# File 'app/controllers/spotlight/lock_controller.rb', line 8 def destroy @lock.destroy render text: '', status: 204 end |