Sha256: 6d6191bdc40dea4ce08fb08a4c46d533015d33a1961b231579fcf9a28934ef51
Contents?: true
Size: 260 Bytes
Versions: 20
Compression:
Stored size: 260 Bytes
Contents
# frozen_string_literal: true module ControllerMacros def access_anonymous sign_out :user User.new end def login_subscriber(subscriber) @request.env['devise.mapping'] = Devise.mappings[:user] sign_in subscriber subscriber end end
Version data entries
20 entries across 20 versions & 1 rubygems