From fdee3c3efc9629a80f590a7a6f63f721c230e34f Mon Sep 17 00:00:00 2001 From: Maximilian Grundke Date: Wed, 12 Jul 2017 11:11:32 +0200 Subject: [PATCH] Fix string in heading and breadcrumbs --- app/models/error_template.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/models/error_template.rb b/app/models/error_template.rb index dc497d48..be4a3279 100644 --- a/app/models/error_template.rb +++ b/app/models/error_template.rb @@ -1,4 +1,8 @@ class ErrorTemplate < ActiveRecord::Base belongs_to :execution_environment has_and_belongs_to_many :error_template_attributes + + def to_s + "#{id} [#{name}]" + end end