Zammad::Application.routes.draw do api_path = Rails.configuration.api_path # forms match api_path + '/form_submit', to: 'form#submit', via: :post match api_path + '/form_config', to: 'form#config', via: :get end