Sha256: 4bdd1abc9cf174c615dce3dd083530ed1fdf7070dcc12c55ca72a3d4a6677def
Contents?: true
Size: 323 Bytes
Versions: 151
Compression:
Stored size: 323 Bytes
Contents
# frozen_string_literal: true module Motor module CurrentUserMethod def current_user @current_user ||= if defined?(current_admin) current_admin elsif defined?(current_admin_user) current_admin_user elsif defined?(super) super end end end end
Version data entries
151 entries across 151 versions & 2 rubygems