Skip to content
Browse files

Fixed that generated action_mailers doesnt need to require the action…

…_mailer since thats already done in the environment #382 [Lucas Carlson]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@287 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 13273f7 commit 43f5ab93e016ced1592046229b82c28b2dae4556 @dhh dhh committed Dec 31, 2004
Showing with 2 additions and 2 deletions.
  1. +2 −0 railties/CHANGELOG
  2. +0 −2 railties/generators/mailer/templates/mailer.rb
View
2 railties/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Fixed that generated action_mailers doesnt need to require the action_mailer since thats already done in the environment #382 [Lucas Carlson]
+
* Fixed dependency management to happen in a unified fashion for Active Record and Action Pack using the new Dependencies module. This means that
the environment options needs to change from:
View
2 railties/generators/mailer/templates/mailer.rb
@@ -1,5 +1,3 @@
-require 'action_mailer'
-
class <%= class_name %> < ActionMailer::Base
<% for action in actions -%>

0 comments on commit 43f5ab9

Please sign in to comment.
Something went wrong with that request. Please try again.