authenticity token rails code example
Example 1: authenticity token rails
<%= hidden_field_tag "authenticity_token", form_authenticity_token %>
Example 2: rails skip authenticity token
skip_before_action :verify_authenticity_token, only: [...]
<%= hidden_field_tag "authenticity_token", form_authenticity_token %>
skip_before_action :verify_authenticity_token, only: [...]