Sha256: 72b2f3afad7e50d77ed6ab7f277195931dfdc75ad43c02dbf1a72b191c5e10ba

Contents?: true

Size: 269 Bytes

Versions: 47

Compression:

Stored size: 269 Bytes

Contents

module Spotlight
  ##
  # Locking mechanism for page-level locks
  class LockController < Spotlight::ApplicationController
    load_and_authorize_resource

    # DELETE /locks/1
    def destroy
      @lock.destroy

      render plain: '', status: 204
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
blacklight-spotlight-2.4.1 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.4.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.3.3 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.3.2 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.3.1 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.3.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.2.1 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.2.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.1.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.0.2 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.0.1 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.0.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.0.0.rc6 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.0.0.rc5 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.0.0.rc4 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.0.0.rc3 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.0.0.rc2 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-2.0.0.rc1 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-1.5.1 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-1.4.1 app/controllers/spotlight/lock_controller.rb