mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05: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:
parent
e7fe15fbac
commit
5f5f19b06d
1 changed files with 2 additions and 2 deletions
|
@ -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 -%>
|
||||
|
|
Loading…
Reference in a new issue