Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tested and working. added some config examples

git-svn-id: svn://hasno.info/mephisto/plugins/mephisto_comment_email@138 c10dc6e2-ae21-0410-890e-c4c894b30763
  • Loading branch information...
commit 75f7e16f2cdd246e5b55a1b2c1c0aace4f7a8903 1 parent 1e80bc2
segfault authored
Showing with 6 additions and 1 deletion.
  1. +0 −1  init.rb
  2. +2 −0  lib/comment_notifier.rb
  3. +4 −0 lib/config.rb
View
1  init.rb
@@ -1,3 +1,2 @@
require 'emailer/plugin'
ActiveRecord::Base.observers << :comment_email_observer
-require 'config'
View
2  lib/comment_notifier.rb
@@ -29,3 +29,5 @@ def self.template_root
File.dirname(__FILE__) + '/../views'
end
end
+
+require File.expand_path(File.dirname(__FILE__) + "/config.rb")
View
4 lib/config.rb
@@ -2,3 +2,7 @@
#
# CommentNotifier.blog_url = "http://alternate.akismet.blog.url"
# CommentNotifier.mail_to = "Someone.Other.Than.Author@somesite.com"
+# CommentNotifier.mail_from_name = "Fester"
+# CommentNotifier.only_approved = true
+# CommentNotifier.mail_from = "nobody@example.com"
+# CommentNotifier.mail_prefix = "(TravelBlog)"
Please sign in to comment.
Something went wrong with that request. Please try again.