Add job information to contacts (#265)

* Add Job information
* Add company information
* Fix a bug in the task deletion noticed in the process
This commit is contained in:
Régis Freyd
2017-06-13 17:02:01 -04:00
committed by GitHub
parent 1d306154dd
commit e55697fbef
19 changed files with 318 additions and 29 deletions
+4
View File
@@ -28,6 +28,10 @@ Route::group(['middleware' => 'auth'], function () {
Route::post('/people/{people}/update', 'PeopleController@update');
Route::get('/people/{people}/delete', ['as' => '.delete', 'uses' => 'PeopleController@delete']);
// Work information
Route::get('/people/{people}/work/edit', ['as' => '.edit', 'uses' => 'PeopleController@editWork']);
Route::post('/people/{people}/work/update', 'PeopleController@updateWork');
// Notes
Route::get('/people/{people}/note/add', 'PeopleController@addNote');
Route::post('/people/{people}/note/save', 'PeopleController@storeNote');