Module: Sinatra::MarkupPlugin

Defined in:
lib/sinatra/markup_plugin.rb,
lib/sinatra/markup_plugin/tag_helpers.rb,
lib/sinatra/markup_plugin/form_helpers.rb,
lib/sinatra/markup_plugin/format_helpers.rb,
lib/sinatra/markup_plugin/output_helpers.rb,
lib/sinatra/markup_plugin/asset_tag_helpers.rb

Defined Under Namespace

Modules: AssetTagHelpers, FormHelpers, FormatHelpers, OutputHelpers, TagHelpers

Class Method Summary collapse

Class Method Details

.registered(app) ⇒ Object



8
9
10
11
12
13
14
15
# File 'lib/sinatra/markup_plugin.rb', line 8

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