Merge branch 'master' into feature/#17

Conflicts:
	app/views/exceptionhandler/index.html.erb
This commit is contained in:
2012-04-29 00:52:41 -04:00
2 changed files with 5 additions and 5 deletions

View File

@@ -63,7 +63,8 @@ class ExceptionhandlerController < ApplicationController
issue.save
flash.now[:notice] = "New report filed: ##{issue.id}"
else
flash.now[:error] = issue.errors.full_messages
flash.now[:error] = "There was an error with filing this report"
@output = issue.errors.full_messages
end
#TODO generate link to issue

View File

@@ -1,5 +1,8 @@
<h1>Exception Handler</h1>
<br/>
<%= @output %>
<br/>
<br/>
<strong>Number of params:</strong> <%= params.size %>
<br/>
<br/>
@@ -13,7 +16,3 @@
<strong>Params:</strong>
<br/>
<%= params.inspect %>
<br/>
<%= @output %>