Adding sponsors routes

This commit is contained in:
Christophe Latour 2017-10-16 17:56:29 +02:00
parent 43f8351686
commit 707495b1fd

View File

@ -97,7 +97,6 @@ $app->group(['middleware' => 'auth'], function() use ($app) {
*/ */
$app->post('/payment/cheque', 'Payments\\ChequeController@execPayment'); $app->post('/payment/cheque', 'Payments\\ChequeController@execPayment');
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| CONTACT ROUTES | CONTACT ROUTES
@ -112,7 +111,8 @@ $app->group(['middleware' => 'auth'], function() use ($app) {
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
*/ */
$app->get('/sponsors', 'SponsorController@lists'); $app->get('/sponsors', 'SponsorController@lists');
$app->post('/sponsors', 'SponsorController@create'); $app->post('/sponsors', 'SponsorController@invite');
$app->post('/sponsor/{id_invite}/revive', 'SponsorController@revive');
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------