UI changes + Redirection after creating report fixed

(cherry picked from commit 987fcf0ba5e7e914dc479e9dc7613400e72148a0)
This commit is contained in:
Shrey 2015-08-13 16:53:05 +05:30 committed by Matt Amos
parent eb79b15681
commit ed84930283
15 changed files with 50 additions and 41 deletions

View file

@ -172,8 +172,12 @@ class Notifier < ActionMailer::Base
end
end
def new_issue_notification(recipient)
def new_issue_notification(issue_id,recipient)
with_recipient_locale recipient do
@url = url_for(:host => SERVER_URL,
:controller => "issues",
:action => "show",
:id => issue_id)
subject = I18n.t("notifier.new_issue_notification.subject")
mail :to => recipient.email, :subject => subject
end