Permalink
Browse files

fix editor cutoff which prevented class from loading

  • Loading branch information...
1 parent 9b11a98 commit 4832ee8c82babcae2256a16344d41bd6c9b1b2c7 @AnthonyCaliendo committed Jan 21, 2009
Showing with 3 additions and 3 deletions.
  1. +2 −2 README
  2. +1 −1 action_mailer_callbacks.rb
View
@@ -5,15 +5,15 @@ Version 1.0
== Installation
Drop "action_mailer_callbacks.rb" into either your "lib" directory.
-Drop "action_mailer_callbacks_test.rb" into your "test/units" directory.
+Drop "action_mailer_callbacks_test.rb" into your "test/unit" directory.
In the future, this will be made a proper plugin to make installation easier...
== What Is It?
ActionMailer callbacks provides basic callback support for ActionMailer. It providers similar functionality to before and after filters available in ActionController.
-== How Do I Use It?=
+== How Do I Use It?
There are 2 main ways to define a callback. In each case, the callback method is passed the mail as the only argument.
@@ -1,4 +1,4 @@
-ass ActionMailer::Base
+class ActionMailer::Base
cattr_accessor :callback_chain_halted
def self.before_deliver(*args, &block)

0 comments on commit 4832ee8

Please sign in to comment.