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, line 9
def self.load_dependencies(app)
  app.plugin :render
  app.plugin :route_csrf
end