module Formular::RailsHelper

Public Instance Methods

trb_form_for(model, url, **options, &block) click to toggle source
# File lib/formular/helper.rb, line 60
def trb_form_for(model, url, **options, &block)
  options[:csrf_token] ||= form_authenticity_token
  options[:csrf_token_name] ||= request_forgery_protection_token.to_s

  form(model, url, options, &block)
end