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-1.4.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-1.3.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-1.2.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-1.1.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-1.0.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-1.0.0.alpha2 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-1.0.0.alpha1 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.34.1 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.34.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.33.3 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.33.2 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.33.1 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.33.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.32.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.31.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.30.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.29.1 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.29.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.28.3 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.28.2 app/controllers/spotlight/lock_controller.rb