Module: ForumReaderNotifier

Defined in:
lib/forum_reader_notifier.rb

Instance Method Summary collapse

Instance Method Details

#post(reader, post) ⇒ Object



3
4
5
6
7
8
# File 'lib/forum_reader_notifier.rb', line 3

def post(reader, post)
  setup_email(reader)
  @subject += "New post under '#{post.topic.name}'"
  @body[:post] = post
  @body[:post_url] = url_for(post)
end