Sha256: d439e886bab049bcedee96a70998b5d367d91230bdb5700c921834e26327821a
Contents?: true
Size: 537 Bytes
Versions: 47
Compression:
Stored size: 537 Bytes
Contents
module Cmor module Testimonials class Testimonial < ApplicationRecord include ActsAsPublished::ActiveRecord include Markup::Rails::ActiveRecord has_one_attached :image belongs_to :category acts_as_list scope: :category acts_as_published acts_as_markup :body, Cmor::Core::Configuration.default_markup_options def human if role.present? "#{fullname} (#{role}) - #{company}" else "#{fullname} - #{company}" end end end end end
Version data entries
47 entries across 47 versions & 1 rubygems