Add UUID instead of actual ID to identify contacts (#777)

Close #381
This commit is contained in:
Danny
2018-04-08 13:23:13 -05:00
committed by Régis Freyd
parent 04607f3eb5
commit 3ba96cf18b
61 changed files with 618 additions and 119 deletions
@@ -68,7 +68,7 @@ class IntroductionsController extends Controller
$contact->logEvent('contact', $contact->id, 'update');
return redirect('/people/'.$contact->id)
return redirect('/people/'.$contact->hashID())
->with('success', trans('people.introductions_update_success'));
}
@@ -85,7 +85,7 @@ class IntroductionsController extends Controller
$contact->events()->forObject($gift)->get()->each->delete();
return redirect('/people/'.$contact->id)
return redirect('/people/'.$contact->hashID())
->with('success', trans('people.gifts_delete_success'));
}
}