From a950b8055e35c847f1d718722da0c384de17c5cd Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Sat, 28 Apr 2012 19:47:34 -0400 Subject: [PATCH] Added issue number to filed status output closes #23 --- app/controllers/exceptionhandler_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/exceptionhandler_controller.rb b/app/controllers/exceptionhandler_controller.rb index b4c9260..4020787 100755 --- a/app/controllers/exceptionhandler_controller.rb +++ b/app/controllers/exceptionhandler_controller.rb @@ -48,7 +48,7 @@ class ExceptionhandlerController < ApplicationController issue = check_for_existing_report if issue != nil if update_report(issue) - flash.now[:notice] = "Updated report" + flash.now[:notice] = "Updated report: ##{issue.id}" end else @@ -57,7 +57,7 @@ class ExceptionhandlerController < ApplicationController issue = create_new_report if issue.valid? issue.save - flash.now[:notice] = "New report filed" + flash.now[:notice] = "New report filed: ##{issue.id}" else flash.now[:error] = issue.errors.full_messages end