Project

General

Profile

Feature #2549 » news_to_all_members.diff

patch for redmine 1.0.1 - Bruno Medeiros, 2010-09-09 15:41

View differences:

app/models/mailer.rb (working copy)
140 140
  def news_added(news)
141 141
    redmine_headers 'Project' => news.project.identifier
142 142
    message_id news
143
    recipients news.recipients
143
    recipients news.project.members.collect {|m| m.user}.collect {|u| u.mail}
144 144
    subject "[#{news.project.name}] #{l(:label_news)}: #{news.title}"
145 145
    body :news => news,
146 146
         :news_url => url_for(:controller => 'news', :action => 'show', :id => news)
(1-1/2)