Sha256: bcb8fcd3e7496c88d048e8d7b256a9c708d056eaf4280b35ef8a6084938352af
Contents?: true
Size: 616 Bytes
Versions: 4
Compression:
Stored size: 616 Bytes
Contents
require File.dirname(__FILE__) + '/support_lite' require File.dirname(__FILE__) + '/markup_plugin/form_builder/abstract_form_builder' require File.dirname(__FILE__) + '/markup_plugin/form_builder/standard_form_builder' Dir[File.dirname(__FILE__) + '/markup_plugin/*.rb'].each {|file| load file } module Sinatra module MarkupPlugin def self.registered(app) app.set :default_builder, 'StandardFormBuilder' app.helpers OutputHelpers app.helpers TagHelpers app.helpers AssetTagHelpers app.helpers FormHelpers app.helpers FormatHelpers end end register MarkupPlugin end
Version data entries
4 entries across 4 versions & 1 rubygems