fix: Avoid Brakeman warning about insecure redirect
This commit is contained in:
parent
7e0fbcf672
commit
940405cea8
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue