diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-08-20 11:08:01 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-08-20 11:08:01 +0100 |
commit | dae632d5b6a636ee0976151c764831015a67f3d5 (patch) | |
tree | 9f665cba9edbe096b2bbc935c7c0cabb25319448 /app/controllers/request_controller.rb | |
parent | ba97fffe11b02275a9b3619716744dca7fe9580b (diff) |
Do not send email for external requests
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r-- | app/controllers/request_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index b28252ce4..4a1fd9df7 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -431,7 +431,7 @@ class RequestController < ApplicationController }) # Don't give advice on what to do next, as it isn't their request - RequestMailer.deliver_old_unclassified_updated(@info_request) + RequestMailer.deliver_old_unclassified_updated(@info_request) if !@info_request.is_external? if session[:request_game] flash[:notice] = _('Thank you for updating the status of the request \'<a href="{{url}}">{{info_request_title}}</a>\'. There are some more requests below for you to classify.',:info_request_title=>CGI.escapeHTML(@info_request.title), :url=>CGI.escapeHTML(request_url(@info_request))) redirect_to play_url |