refactored error aggregation

This commit is contained in:
Hauke Klement
2015-02-18 17:18:46 +01:00
parent ea44db73ef
commit 28405783a2
3 changed files with 4 additions and 5 deletions

View File

@ -28,7 +28,7 @@ class ErrorsController < ApplicationController
def index
authorize!
@errors = Error.for_execution_environment(@execution_environment)
@errors = Error.for_execution_environment(@execution_environment).grouped_by_message
end
def set_execution_environment