mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
_at is better for Time.now than _on
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
class <%= class_name %> < ActionMailer::Base
|
||||
<% for action in actions -%>
|
||||
|
||||
def <%= action %>(sent_on = Time.now)
|
||||
def <%= action %>(sent_at = Time.now)
|
||||
@subject = '<%= class_name %>#<%= action %>'
|
||||
@body = {}
|
||||
@recipients = ''
|
||||
@from = ''
|
||||
@sent_on = sent_on
|
||||
@sent_on = sent_at
|
||||
@headers = {}
|
||||
end
|
||||
<% end -%>
|
||||
|
||||
Reference in New Issue
Block a user