Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (8 sloc) 0.219 kb
class PostMailer < ApplicationMailer
default from: "from@example.com"
layout "application"
def decorated_email(post)
@post = post.decorate
mail to: "to@example.com", subject: "A decorated post"
end
end
Jump to Line
Something went wrong with that request. Please try again.