Sha256: c5404fe5277386ccb42ecac72210662d805c8018fd7ae4f864f4d58824f87dac
Contents?: true
Size: 605 Bytes
Versions: 4
Compression:
Stored size: 605 Bytes
Contents
# frozen_string_literal: true module Decidim module Templates module Admin module ApplicationControllerOverride extend ActiveSupport::Concern included do def template_types @template_types ||= { I18n.t("template_types.questionnaires", scope: "decidim.templates") => decidim_admin_templates.questionnaire_templates_path, I18n.t("template_types.proposal_answer_templates", scope: "decidim.templates") => decidim_admin_templates.proposal_answer_templates_path } end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems