Sha256: 47902de615c439a141c4ead8a187c06a1dca6bbdee3bc9a82318e33f90ad7b7f

Contents?: true

Size: 276 Bytes

Versions: 2

Compression:

Stored size: 276 Bytes

Contents

module Jobshop
  class ApplicationController < ActionController::API
    include Jobshop::AuthorizationHandler
    include Jobshop::AuthenticationHandler

    def current_organization
      @current_organization ||= current_user && current_user.organization
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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