module Lucky::ForgeryProtectionHelpers
Direct including types
Defined in:
lucky/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
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