Update (fix): tool count display issue
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Http\Controllers\Front;
|
||||
|
||||
use App\Helpers\FirstParty\Cached\Cached;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Models\AiTool;
|
||||
use App\Models\Category;
|
||||
@@ -14,7 +15,7 @@ class FrontDiscoverController extends Controller
|
||||
{
|
||||
public function discover(Request $request, $category_slug = null)
|
||||
{
|
||||
$tools_count = round_to_nearest_base(700);
|
||||
$tools_count_rounded = round_to_nearest_base(Cached::tools_count());
|
||||
|
||||
$category = null;
|
||||
|
||||
@@ -49,7 +50,7 @@ public function discover(Request $request, $category_slug = null)
|
||||
SEOTools::twitter();
|
||||
SEOTools::opengraph();
|
||||
SEOTools::jsonLd();
|
||||
SEOTools::setTitle("{$tools_count} over AI Tools for you", false);
|
||||
SEOTools::setTitle("{$tools_count_rounded} over AI Tools for you", false);
|
||||
//SEOTools::setDescription($description);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user