Sha256: eab519ef4cd50d10548296f319098088c44339746f3c2a22344bebdd8030cfd7
Contents?: true
Size: 671 Bytes
Versions: 15
Compression:
Stored size: 671 Bytes
Contents
helpers = File.join(Pathname(__FILE__).dirname.expand_path, "helpers") #require File.join(helpers, "content") #require File.join(helpers, "asset_library") #require File.join(helpers, "public") #require File.join(helpers, "admin") #require File.join(helpers, "form_builder") module Gluttonberg # A whole heaping helping of helpers for both the administration back-end and # the public views. module Helpers # Mixes all the helpers into the GlobalHelpers module. Slighly messy, but # hey it works. def self.setup [AssetLibrary, Admin, Public, Content].each do |helper| ActionView::Helpers.send(:include, helper) end end end end
Version data entries
15 entries across 15 versions & 1 rubygems