Sha256: 9f0727e3c142c39e66ab88d4fa30177d0a40a3eeb0a8835185c9ce1f9f06c29e

Contents?: true

Size: 299 Bytes

Versions: 3

Compression:

Stored size: 299 Bytes

Contents

Dir.glob(File.dirname(__FILE__) + '/markup_plugin/**/*.rb').each  { |f| require f }

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sinatra_more-0.0.7 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.0.6 lib/sinatra_more/markup_plugin.rb
sinatra_more-0.0.5 lib/sinatra_more/markup_plugin.rb