module Motion::HTML::ForgeryProtectionHelpers
Direct including types
Defined in:
motion/html/tags/forgery_protection_helpers.crInstance Method Summary
-
#csrf_hidden_input : Nil
Generate a hidden input with the request CSRF token
-
#csrf_meta_tags : Nil
Meta tags used for submitting AJAX links and forms
Instance Method Detail
def csrf_meta_tags : Nil
#
Meta tags used for submitting AJAX links and forms
These tags are automatically added to MainLayout when generating a new project. They are used by Rails UJS to safely submit forms and non-GET AJAX requests