Skip to content
Snippets Groups Projects
Commit c83c49ca authored by tomaszrudowski's avatar tomaszrudowski
Browse files

fix test routes

parent 8ece0431
No related branches found
No related tags found
1 merge request!1Master
......@@ -10,31 +10,3 @@ use Illuminate\Support\Facades\Route;
|
*/
/* todo: TMP !! *//*
Route::post('/populations','APIController@generatePopulation')
->name('external.api.population.post');
Route::get('/populations','APIController@getPopulations')
->name('external.api.population.index');
Route::get('/populations/{population}','APIController@getPopulation')
->name('external.api.population.get');
Route::get('/populations/{population}/majority-distribution','APIController@getMajorityElectionsDistribution')
->name('external.api.majority.distribution.get');
Route::get('/populations/{population}/voters','APIController@getVoters')
->name('external.api.population.get.voters');
Route::post('/populations/{population}','APIController@runMajorityElections')
->name('external.api.population.majority.run');
*/
Route::post('/populations/{population}/elections','APIController@runElections')
->name('external.api.population.election.run');
Route::get('/populations/{population}/voters/{voter}','APIController@getVoterStats')
->name('external.api.population.get.voter');
Route::get('/populations/{population}/voters','APIController@getVotersStats')
->name('external.api.population.get.voters');
Route::get('/populations/{population}','APIController@getPopulation')
->name('external.api.population.get');
Route::get('/populations','APIController@getPopulations')
->name('external.api.population.index');
Route::get('/populations/{population}/timeline','APIController@getElectionsTrend');
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment