Padrino::Helpers::FormHelpers::Security
Module: Padrino::Helpers::FormHelpers::Security
Overview
Helpers to generate form security tags for csrf protection.
Instance Method Summary
-
#csrf_meta_tags ⇒ String
Constructs meta tags `csrf-param` and `csrf-token` with the name of the cross-site request forgery protection parameter and token, respectively. -
#csrf_token_field ⇒ String
Constructs a hidden field containing a CSRF token.