Sha256: f087b98906529eadb7f9ed1a929dd8145a5f09a6f4848f1ab335419449f86149
Contents?: true
Size: 339 Bytes
Versions: 4
Compression:
Stored size: 339 Bytes
Contents
class WelcomeController < ApplicationController before_action :authenticate_scope! def index end def authenticate_scope! scope = lockable_user_signed_in? ? 'lockable_user' : 'user' Rails.logger.debug "\nauthenticate_#{scope}!" send "authenticate_#{scope}!", force: true end end
Version data entries
4 entries across 4 versions & 1 rubygems