Newer
Older
dmpopidor / app / controllers / concerns / template_methods.rb
@Gavin Morrice Gavin Morrice on 28 Aug 2018 272 bytes Refactor how section ordering is handled (#1837)
# frozen_string_literal: true

# This module holds helper controller methods for controllers that deal with Templates
#
module TemplateMethods

  private

  def template_type(template)
    template.customization_of.present? ? _("customisation") : _("template")
  end

end