added booking lists controller and routes

This commit is contained in:
Jack Goh
2018-06-20 18:39:55 +08:00
parent 118ce0f819
commit 498fafd502
4 changed files with 25 additions and 3 deletions
@@ -16,6 +16,10 @@ use DateTime;
class BookingController extends Controller
{
public function index(){
return "hello";
}
public function show($id)
{
$booking = Booking::where('user_id',Auth::user()->id)->where('id', $id)->first();