module Golden::Theme::Helpers
Public Instance Methods
golden_theme_framework(name)
click to toggle source
# File lib/golden/theme/helpers.rb, line 10 def golden_theme_framework name set_golden_theme_helpers name end
Protected Instance Methods
set_golden_theme_helpers(framework)
click to toggle source
# File lib/golden/theme/helpers.rb, line 16 def set_golden_theme_helpers framework path = Golden::Theme::Engine.root.join 'lib/golden/theme', framework.to_s ApplicationController.all_helpers_from_path(path).each do |name| self.class.helper "golden/theme/#{framework}/#{name}" end end