Method: Hanami::Helpers::FormHelper#_form_csrf_token
- Defined in:
- lib/hanami/helpers/form_helper.rb
#_form_csrf_token ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
206 207 208 209 210 |
# File 'lib/hanami/helpers/form_helper.rb', line 206 def _form_csrf_token return unless _context.request.session_enabled? _context.csrf_token end |