Sha256: e920e3bf31dd8a281f087e14880da972d2de6002bdf798b7890849cd36a889f2
Contents?: true
Size: 563 Bytes
Versions: 33
Compression:
Stored size: 563 Bytes
Contents
# frozen_string_literal: true require "cell/partial" module Decidim module NewsletterTemplates class BaseCell < Decidim::ViewModel include Decidim::SanitizeHelper include Cell::ViewModel::Partial include Decidim::NewslettersHelper def show render :show end def organization options[:organization] end alias current_organization organization def newsletter options[:newsletter] end def recipient_user options[:recipient_user] end end end end
Version data entries
33 entries across 33 versions & 1 rubygems