Module: Gluttonberg::Helpers
- Defined in:
- lib/gluttonberg/helpers.rb,
lib/gluttonberg/helpers/admin.rb,
lib/gluttonberg/helpers/public.rb,
lib/gluttonberg/helpers/content.rb,
lib/gluttonberg/helpers/form_builder.rb,
lib/gluttonberg/helpers/asset_library.rb
Overview
A whole heaping helping of helpers for both the administration back-end and the public views.
Defined Under Namespace
Modules: Admin, AssetLibrary, Content, Public Classes: FormBuilder
Class Method Summary (collapse)
-
+ (Object) setup
Mixes all the helpers into the GlobalHelpers module.
Class Method Details
+ (Object) setup
Mixes all the helpers into the GlobalHelpers module. Slighly messy, but hey it works.
14 15 16 17 18 |
# File 'lib/gluttonberg/helpers.rb', line 14 def self.setup [AssetLibrary, Admin, Public, Content].each do |helper| ActionView::Helpers.send(:include, helper) end end |