Sha256: e8d9927ff5ed1f7764eb754a932649492c4da9c2a2e70a93b45e807be95350ef
Contents?: true
Size: 325 Bytes
Versions: 17
Compression:
Stored size: 325 Bytes
Contents
# -*- encoding : utf-8 -*- class FixNotificationHtmlMessage < Cardio::Migration::Core def up codename = :follower_notification_email dir = File.join data_path, "mailer" html_message = Card[codename].fetch "html_message" html_message.update! content: File.read(File.join(dir, "#{codename}.html")) end end
Version data entries
17 entries across 17 versions & 1 rubygems