Class: Locomotive::Steam::Liquid::Tags::Csrf::Param
- Defined in:
- lib/locomotive/steam/liquid/tags/csrf.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#render_csrf(service) ⇒ Object
21 22 23 |
# File 'lib/locomotive/steam/liquid/tags/csrf.rb', line 21 def render_csrf(service) %(<input type="hidden" name="#{service.field}" value="#{service.token}" />) end |