From b66918ca5f746d39a81400de28c768b4c495c1ae Mon Sep 17 00:00:00 2001 From: Caillou <6117264+JeSuisUnCaillou@users.noreply.github.com> Date: Mon, 13 Jan 2025 14:25:40 +0100 Subject: [PATCH] todo --- app/models/authorization.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/authorization.rb b/app/models/authorization.rb index 82dabe614..c343eb999 100644 --- a/app/models/authorization.rb +++ b/app/models/authorization.rb @@ -45,6 +45,7 @@ def request_as_validated # rubocop:enable Metrics/AbcSize def latest? + # TODO : if there is a stage, check only the authorizations of the same stage request.latest_authorization == self end