FEATURE: add template for hotels
This commit is contained in:
@@ -17,7 +17,7 @@ class AddHotelsCategory implements Process
|
||||
function handle(Content & $page)
|
||||
{
|
||||
if ($page->template == 'staticpages::pageWithHotels') {
|
||||
$category = Category::where('url', 'hotels')
|
||||
$category = Category::where('url', 'hotely')
|
||||
->first();
|
||||
|
||||
$page->hotelsCategory = $category;
|
||||
|
||||
Reference in New Issue
Block a user