ticket_agent_default_notifications_controller.rb 363 B

1234567891011
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Settings::TicketAgentDefaultNotificationsController < ApplicationController
  3. prepend_before_action :authenticate_and_authorize!
  4. def apply_to_all
  5. ResetNotificationsPreferencesJob.perform_later(send_to_when_done: current_user.id)
  6. render json: { status: :ok }
  7. end
  8. end