Sha256: 059f5b11e9e0447c2660d0b6884e48d195a24c11e6ce8f4e1bc867f4dc855377
Contents?: true
Size: 337 Bytes
Versions: 78
Compression:
Stored size: 337 Bytes
Contents
# frozen_string_literal: true require 'active_support/concern' module BetterRecord module Authenticatable extend ActiveSupport::Concern included do include BetterRecord::JWT::ControllerMethods before_action :check_user if use_bearer_token after_action :set_auth_header end end end end
Version data entries
78 entries across 78 versions & 1 rubygems