Sha256: 45cb13ea6bdde09c82ff77bd695f622716eaff792d5acc3c0b1139aea8c87e25

Contents?: true

Size: 253 Bytes

Versions: 1

Compression:

Stored size: 253 Bytes

Contents

module Jobshop
  class ApplicationController < ActionController::Base
    protect_from_forgery with: :exception

    layout "jobshop/application"

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jobshop-0.0.167 app/controllers/jobshop/application_controller.rb