megacommit
This commit is contained in:
parent
2451ab45cb
commit
34ed81516b
51 changed files with 1200 additions and 251 deletions
24
app/Http/Controllers/Main/ShowingController.php
Normal file
24
app/Http/Controllers/Main/ShowingController.php
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Main;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class ShowingController extends Controller
|
||||
{
|
||||
public function show($id)
|
||||
{
|
||||
return view('main.showings.showing', ['title' => "Showing", 'showing' => \App\Models\Showing::findOrfail($id)]);
|
||||
}
|
||||
|
||||
public function showAllShowings()
|
||||
{
|
||||
return view('main.showings.index', ['title' => "Showings", 'showings' => \App\Models\Showing::all()]);
|
||||
}
|
||||
|
||||
public function order($id)
|
||||
{
|
||||
return view('main.order', ['title' => "Order Tickets", 'showing' => \App\Models\Showing::findOrfail($id)]);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue