Sha256: f58057e32a68e53b64bf15312bc51ae04cb066a01e1bf5082bb2fbbf9bd43e98

Contents?: true

Size: 597 Bytes

Versions: 52

Compression:

Stored size: 597 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 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

52 entries across 52 versions & 1 rubygems

Version Path
sinatra_more-0.3.43 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.42 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.41 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.40 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.39 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.38 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.37 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.36 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.35 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.34 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.33 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.32 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.31 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.30 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.29 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.28 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.27 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.26 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.25 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.3.24 lib/sinatra_more/markup_plugin.rb