Ejemplo n.º 1
0
 /** Menampilkan data tabel.
 		GET /dstokins
 		@return Response
 	*/
 public function getEdit($dstokin, $created_at)
 {
     $title = Lang::get('admin/dstokins/title.dstokin_update');
     $dstokin = Dstokin::where('id', '=', $dstokin->id)->where('created_at', '=', date($created_at))->first();
     return View::make('admin/dstokins/create_edit', compact('dstokin', 'title', 'created_at'));
 }