2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2015-08-10 00:10:41 +00:00
|
|
|
Zammad::Application.routes.draw do
|
|
|
|
api_path = Rails.configuration.api_path
|
|
|
|
|
|
|
|
# forms
|
2017-09-05 14:54:22 +00:00
|
|
|
match api_path + '/form_submit', to: 'form#submit', via: :post
|
|
|
|
match api_path + '/form_config', to: 'form#configuration', via: :post
|
2015-08-10 00:10:41 +00:00
|
|
|
|
|
|
|
end
|