Module: Gluttonberg::Helpers
- Defined in:
- lib/gluttonberg/helpers.rb
Overview
A whole heaping helping of helpers for both the administration back-end and the public views.
Class Method Summary collapse
-
.setup ⇒ Object
Mixes all the helpers into the GlobalHelpers module.
Class Method Details
.setup ⇒ Object
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 |