Commit 38a20743 authored by Fabrice Gangler's avatar Fabrice Gangler 🎨
Browse files

FIX(export users): update URL

parent 8335b52d
......@@ -423,7 +423,7 @@ class UsersController extends AppController
'created' => $providedSoftware->created,
'software' => $providedSoftware->software->softwarename,
'software_id' => $providedSoftware->software->id,
'software_url' => 'http://localhost:8282/fr/softwares/'.$providedSoftware->software->id,
'software_url' => 'https://comptoir-du-libre.org/fr/softwares/'.$providedSoftware->software->id,
];
}
......@@ -443,14 +443,14 @@ class UsersController extends AppController
if (empty($lastReview) || $lastReview < $review->created) {
$lastReview = $review->created;
}
$review_url = 'http://localhost:8282/fr/softwares/'.$review->software->id.'/reviews/' . $review->id;
$review_url = 'https://comptoir-du-libre.org/fr/softwares/'.$review->software->id.'/reviews/' . $review->id;
$reviews[] = [
'review_id' => $review->id,
'review_url' => $review_url,
'review_created' => $review->created,
'software' => $review->software->softwarename,
'software_id' => $review->software->id,
'software_url' => 'http://localhost:8282/fr/softwares/'.$review->software->id,
'software_url' => 'https://comptoir-du-libre.org/fr/softwares/'.$review->software->id,
];
}
......@@ -474,7 +474,7 @@ class UsersController extends AppController
'created' => $usedsoftware->created,
'software' => $usedsoftware->software->softwarename,
'software_id' => $usedsoftware->software->id,
'software_url' => 'http://localhost:8282/fr/softwares/'.$usedsoftware->software->id,
'software_url' => 'https://comptoir-du-libre.org/fr/softwares/'.$usedsoftware->software->id,
];
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment