readme
changelog
version
This commit is contained in:
Cesidio Di Landa
2013-04-19 20:00:54 +02:00
parent 3e96be498e
commit f070fa45d4
6 changed files with 89 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
module MailerMacros
def last_email
ActionMailer::Base.deliveries.last
end
def reset_email
ActionMailer::Base.deliveries = []
end
end