Exemplo n.º 1
0
 public function editGeotagFoto(Request $request)
 {
     $objectid = $request->objectid;
     $foto = $request->foto;
     if ($request->ajax()) {
         $GeoTag = GeoTag::where('objectid', '=', $objectid)->first();
         $GeoTag->foto = $foto;
         //$GeoTag->personil = \Auth::user()->name;
         //$GeoTag->tanggal = Carbon::now();
         $GeoTag->save();
     }
     print $objectid . ' - ' . $foto;
 }
Exemplo n.º 2
0
 public function destroy($id)
 {
     $GeoTag = GeoTag::find($id);
     $GeoTag->delete();
     return redirect('geotag-list');
 }
Exemplo n.º 3
0
 public function geotag()
 {
     $a = GeoTag::all();
     return view('a', compact('a'));
 }