public function getPageByName($name)
 {
     return Page::with('textblocks', 'galleries')->where('name', $name)->first();
 }
 public function showPage($pageId)
 {
     $page = Page::with('textblocks', 'galleries')->findOrFail($pageId);
     return view('vendor.edible.showpage')->with(compact('page'));
 }