Skip to content

Commit

Permalink
Add explicit #start_on/#end_on to Role, remove FutureRole, Role#delet…
Browse files Browse the repository at this point in the history
…e_on
  • Loading branch information
daniel-illi authored and amaierhofer committed Nov 15, 2024
1 parent d57a420 commit 53b4332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/die_mitte/role.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53b4332

Please sign in to comment.