Remove new issue notifications for now

This can be re-implemented later.
This commit is contained in:
Andy Allan 2017-12-13 16:19:58 +00:00
parent a79d951db2
commit e0faf68437
4 changed files with 0 additions and 22 deletions

View file

@ -18,7 +18,6 @@ class ReportsController < ApplicationController
if @report.save
@report.issue.save
# FIXME: reopen issue if necessary
# FIXME: new issue notification (or via model observer)
redirect_to root_path, :notice => t("issues.create.successful_report")
else
redirect_to new_report_path(:reportable_type => @report.issue.reportable_type, :reportable_id => @report.issue.reportable_id), :notice => t("issues.create.provide_details")