/** * Show the payment page after lesson application * @param $workshop_id int * @return \Illuminate\View\View */ public function showPay($workshop_id) { $include_right = false; $page_workshop = $this->workshop->findOrNew($workshop_id); $this->title = 'Yogaground Payment Page'; return $this->getView('lessonpay', compact('page_workshop', 'include_right')); }
/** * Gets the list of workshops * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ public function getWorkshops() { $workshops = $this->workshop->getAllWorkshops(); return view('auth.workshops', compact('workshops')); }