Sha256: 1ae7799c810f79d29f3397d8bb1bb9a07ee2775000df0a4e37559263e6dd7277
Contents?: true
Size: 414 Bytes
Versions: 13
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true module Decidim # This module includes helpers to manage view hooks in layout module ViewHooksHelper # Public: Renders all hooks registered as `hook_name`. # # @param hook_name [Symbol] representing the name of the hook. # # @return [String] an HTML safe String def render_hook(hook_name) Decidim.view_hooks.render(hook_name, self) end end end
Version data entries
13 entries across 13 versions & 1 rubygems