module Roda::RodaPlugins::FormeRouteCsrf

  1. lib/roda/plugins/forme_route_csrf.rb

Methods

Public Class

  1. load_dependencies

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_route_csrf.rb
10 def self.load_dependencies(app)
11   app.plugin :render
12   app.plugin :route_csrf
13 end