Created
November 9, 2019 16:21
-
-
Save bodrovis/2e57d46efde3776a056c1c285e45dae0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PostMailer < ApplicationMailer | |
def notify(post) | |
@post = post | |
mail to: 'example@example.com' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment