Sha256: 06031416083b2a1f783a3cc6afc745927cf44358f0e53e344809b1c81801a39f
Contents?: true
Size: 470 Bytes
Versions: 14
Compression:
Stored size: 470 Bytes
Contents
module Rbexy module Rails module ControllerHelper extend ActiveSupport::Concern include ComponentContext included do helper_method :rbexy_context, :create_context, :use_context end class_methods do def inherited(klass) super Rbexy.configuration.template_paths.each do |path| prepend_view_path(ComponentTemplateResolver.new(path)) end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems