Sha256: 24188946f1705f009387e8f6aac6ea96ca25f4fb610c14bb330cc03b0d4597d6

Contents?: true

Size: 312 Bytes

Versions: 2

Compression:

Stored size: 312 Bytes

Contents

require_dependency "jobshop/application_controller"

module Jobshop
  class SessionActivationsController < ApplicationController
    def destroy
      revoked_session.destroy
    end

    private def revoked_session
      @revoked_session ||= current_user.session_activations.find(params[:id])
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jobshop-0.0.163 app/controllers/jobshop/session_activations_controller.rb
jobshop-0.0.157 app/controllers/jobshop/session_activations_controller.rb