Sha256: 2acbca8ae0461ae028e60e80d4ecfcf39d593c74a509b0f4c3aa33fb58bb1127

Contents?: true

Size: 393 Bytes

Versions: 2

Compression:

Stored size: 393 Bytes

Contents

require 'sinatra/base'

require File.join(File.dirname(__FILE__) + '/sinatra_more/view_helpers')
Dir.glob(File.dirname(__FILE__) + '/sinatra_more/form_builder/*.rb').each  { |f| require f }

module SinatraMore
  def self.registered(app)
    app.helpers TagHelpers
    app.helpers AssetTagHelpers
    app.helpers FormHelpers
    app.helpers FormatHelpers
    app.helpers RenderHelpers
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sinatra_more-0.0.3 lib/sinatra_more.rb
sinatra_more-0.0.2 lib/sinatra_more.rb