form.rb 324 B

12345678910
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. Zammad::Application.routes.draw do
  3. api_path = Rails.configuration.api_path
  4. # forms
  5. match api_path + '/form_submit', to: 'form#submit', via: :post
  6. match api_path + '/form_config', to: 'form#configuration', via: :post
  7. end