7 lines
127 B
Ruby
7 lines
127 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Users::SessionPolicy < ApplicationPolicy
|
|
def destroy?
|
|
!account&.user.nil?
|
|
end
|
|
end
|