public function f_edit($id) { $data = []; $data['title'] = "Add Festival"; $data['sub_title'] = "New festival"; $data['role'] = $this->getRole(Auth::user()->id); $data['data'] = FrontendController::show($id); return view('festival.edit', $data); }
public function __construct() { parent::__construct(); }