application_policy.rb 212 B

1234567891011
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class ApplicationPolicy
  3. include PunditPolicy
  4. attr_reader :record
  5. def initialize_context(record)
  6. @record = record
  7. end
  8. end