fix: working copy, caching ASP, notworking orders though

This commit is contained in:
Didier Slof 2023-02-03 09:05:29 +01:00
parent dc5d204cfc
commit 390ad23e03
Signed by: didier
GPG key ID: 01E71F18AA4398E5
32 changed files with 246 additions and 194 deletions

View file

@ -19,6 +19,10 @@ class ShowingController extends Controller
public function order($id)
{
// if not authenticated piss off
if (!auth()->check()) {
return redirect()->route('login');
}
return view('main.order', ['title' => "Order Tickets", 'showing' => \App\Models\Showing::findOrfail($id)]);
}
}