Module: Bh::Extensions::Padrino
- Included in:
- Bh
- Defined in:
- lib/bh/core_ext/padrino.rb
Overview
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 theapp.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.
Instance Method Summary collapse
-
#registered(app) ⇒ Object
Register Bh as a Padrino app.