trabajo-afectivo/config/routes/form.rb

10 lines
323 B
Ruby

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
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#configuration', via: :post
end