Module: SpammableActions::CaptchaCheck::HtmlFormatActionsSupport

Extended by:
ActiveSupport::Concern
Includes:
Common
Included in:
IssuableActions
Defined in:
app/controllers/concerns/spammable_actions/captcha_check/html_format_actions_support.rb

Overview

This module should ONLY be included if needed to support forms submits with HTML MIME type. In other words, forms handled by actions which use a ‘respond_to` of `format.html`.

If the request is handled by actions via ‘format.json`, for example, for all Javascript based form submissions and Vue components which use Apollo and Axios, then the corresponding module which supports JSON format should be used instead.