Permalink
Browse files

MailForm.template_root information on README.

  • Loading branch information...
josevalim committed Dec 24, 2009
1 parent e2ec691 commit ae07f21da2587c52e4b82a910517f6335a6b22cc
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.rdoc
View
@@ -191,6 +191,14 @@ several MailForm instances, using different templates.
Configure additional headers to your e-mail.
+==== MailForm.template_root
+
+MailForm by default is configured to use the template which comes with the gem.
+If you want to use another, you just need to configure MailForm template root
+to point to your application:
+
+ MailForm.template_root = File.join(Rails.root, "app", "views")
+
== I18n
I18n in MailForm works like in ActiveRecord, so all models, attributes and messages

0 comments on commit ae07f21

Please sign in to comment.