module Bh::Extensions::Padrino

Makes Bootstrap helpers available in Padrino applications.

To use Bh in a Padrino app you need 2 steps:

- include bh in the Gemfile
- add `register Bh` in the `app.rb` file

The following method adds ‘Bh` as one of the modules that can be registered in a Padrino app, but you still need to register it manually in order to make helpers available.

Public Instance Methods

registered(app) click to toggle source

Register Bh as a Padrino app.

# File lib/bh/core_ext/padrino.rb, line 15
def registered(app)
  app.include Bh::Helpers
end