예제 #1
0
 public function addView($anak_id)
 {
     $anak = Anak::find($anak_id);
     $files = Files::where('anak_id', '=', $anak->id)->paginate(100);
     $data = ['page_title' => 'Anak - Files', 'panel_title' => 'Files Add View', 'form_url' => '/dash/anak/files/add', 'form_status' => 'add', 'location' => 'addView', 'anak' => $anak];
     return View::make('files.form', $data);
 }