Sha256: 7484723fd82aaaa3be5795134765882812bbba04d5b5f18fd58de29e41eb7f0a

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

Stored size: 242 Bytes

Contents

module Kublog
  class PostMailer < ActionMailer::Base
    default from: "test@kublog.com"
    
    def new_post(post, user)
      @post, @user = post, user
      mail(:to => user.email, :subject => post.title.titleize)
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kublog-0.0.1.1 app/mailers/kublog/post_mailer.rb