Sha256: e0e52bdd56eab55c4857d8bd745ba914dc23175ddddce7056b6c97b1796a850d
Contents?: true
Size: 548 Bytes
Versions: 2
Compression:
Stored size: 548 Bytes
Contents
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 SinatraMore 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 end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sinatra_more-0.1.8 | lib/sinatra_more/markup_plugin.rb |
sinatra_more-0.1.7 | lib/sinatra_more/markup_plugin.rb |