FleetCart/Themes/Storefront/Http/Controllers/CookieBarController.php
2023-06-11 13:14:03 +01:00

14 lines
253 B
PHP

<?php
namespace Themes\Storefront\Http\Controllers;
class CookieBarController
{
public function destroy()
{
$cookie = cookie()->forever('show_cookie_bar', false);
return response('')->withCookie($cookie);
}
}