class ViewComponent::Base
def config
-
(ActiveSupport::OrderedOptions)
-
def config module_parents.each do |m| config = m.try(:config).try(:view_component) return config if config end ViewComponent::Config.current end
(ActiveSupport::OrderedOptions)
-
def config module_parents.each do |m| config = m.try(:config).try(:view_component) return config if config end ViewComponent::Config.current end