fix: Avoid Brakeman warning about insecure redirect

This commit is contained in:
Nicolas Cavigneaux 2023-03-16 10:02:35 +01:00 committed by Colin Darie
parent 7e0fbcf672
commit 940405cea8
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ module Administrateurs
end
format.html do
redirect_to export.file.url
redirect_to url_from(export.file.url)
end
end
else

View file

@ -175,7 +175,7 @@ module Instructeurs
end
format.html do
redirect_to export.file.url
redirect_to url_from(export.file.url)
end
end
else