forked from metin2/web
Shop improvements, renamed "shop" to "mall", support for Argon2ID
This commit is contained in:
@ -2,10 +2,10 @@
|
||||
|
||||
namespace App\View\Composers;
|
||||
|
||||
use App\Models\Shop\ShopCategory;
|
||||
use App\Models\Mall\MallCategory;
|
||||
use Illuminate\View\View;
|
||||
|
||||
class ShopComposer
|
||||
class MallComposer
|
||||
{
|
||||
/**
|
||||
* Bind data to the view.
|
||||
@ -18,7 +18,7 @@ class ShopComposer
|
||||
// Fetch the amount of items in storage
|
||||
$view->with('discountDesc', "20% reducere la chipsuri");
|
||||
|
||||
// Fetch the shop categories
|
||||
$view->with('categories', ShopCategory::all());
|
||||
// Fetch the mall categories
|
||||
$view->with('categories', MallCategory::all());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user