Merge branch 'main' into features/filter/1

This commit is contained in:
2020-07-24 14:53:34 +02:00
8 changed files with 156 additions and 8 deletions

View File

@@ -0,0 +1,14 @@
<?php
namespace App\Http\Controllers;
use App\Home;
class PublicController extends Controller
{
public function show($slug)
{
$home = Home::where('slug', $slug)->firstOrFail();
return view('public.view', ['home' => $home]);
}
}