module Roda::RodaPlugins::Forme

  1. lib/roda/plugins/forme.rb

Methods

Public Class

  1. load_dependencies

Constants

InstanceMethods = ::Forme::ERB::Helper  

This is the module used to add the Forme integration to ERB templates, with optional support for rack_csrf for CSRF handling.

Public Class methods

load_dependencies(app)

Require the render plugin, since forme template integration only makes sense with it.

[show source]
   # File lib/roda/plugins/forme.rb
10 def self.load_dependencies(app)
11   app.plugin :render
12 end