Sha256: e6db3e881f199a9855bc67b3f468c9070dc7a5e7bcc202ca0d74b3eb7fae13d5

Contents?: true

Size: 220 Bytes

Versions: 4

Compression:

Stored size: 220 Bytes

Contents

module Spotlight
  class LockController < Spotlight::ApplicationController
    load_and_authorize_resource

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

      render text: "", status: 204
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-spotlight-0.4.1 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.3.1 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.3.0 app/controllers/spotlight/lock_controller.rb
blacklight-spotlight-0.2.0 app/controllers/spotlight/lock_controller.rb