all() as $key => $value) : $page_data[$key] = $value; endforeach; return view($view_path, $page_data); } }