module Podium::ControllerHelpers

Public Class Methods

included(base) click to toggle source
# File lib/podium/controller_helpers.rb, line 3
def self.included(base)
  base.before_action :load_podlet_content
end

Public Instance Methods

load_podlet_content() click to toggle source
# File lib/podium/controller_helpers.rb, line 7
def load_podlet_content
  @podlet_content = Podium.instance.load_content_for_podlets(podlets, podlet_context)
end
podlet_context() click to toggle source
# File lib/podium/controller_helpers.rb, line 11
def podlet_context
  {}
end