From f74afba435027b754cbc8e34e1c14acb6ff67fca Mon Sep 17 00:00:00 2001 From: Daniel Illi Date: Tue, 27 Aug 2024 17:43:04 +0200 Subject: [PATCH] Add explicit #start_on/#end_on to Role, remove FutureRole, Role#delete_on --- app/models/die_mitte/role.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/die_mitte/role.rb b/app/models/die_mitte/role.rb index 2e28286..dff5a32 100644 --- a/app/models/die_mitte/role.rb +++ b/app/models/die_mitte/role.rb @@ -28,7 +28,7 @@ def to_s_with_merkmal(format = :default) # rubocop:disable Metrics/MethodLength unless format == :short model_name += " (#{label})" if label? - model_name += " (#{formatted_delete_date})" if delete_on + model_name += " (#{formatted_delete_date})" if end_on end if format == :long