feat(file retrieval): contact support if not col ter

This commit is contained in:
simon lehericey 2023-12-19 13:00:36 +01:00
parent b7c48acf86
commit d3955d48ee
3 changed files with 38 additions and 2 deletions

View file

@ -6,7 +6,7 @@ class RecoveriesController < ApplicationController
if nature_params == 'collectivite'
redirect_to identification_recovery_path
else
redirect_to support_recovery_path
redirect_to support_recovery_path(error: :other_nature)
end
end