Exemplo n.º 1
0
<?php

Route::group(['prefix' => 'categorie'], function () {
    standardRoutes('categorie', 'CategoriesController');
});
Exemplo n.º 2
0
<?php

Route::group(['prefix' => 'manager'], function () {
    standardRoutes('manager', 'ManagersController');
});
Exemplo n.º 3
0
<?php

Route::group(['prefix' => 'tour'], function () {
    standardRoutes('tour', 'ToursController');
    # Encode Date & FormuleCompet d'une compétition -> appelé lors de la création de la compet
    Route::get('formule/{backUrl?}/{compet_id?}', ['as' => 'tour.formule', 'uses' => 'ToursController@formule']);
    Route::post('formule', ['as' => 'tour.formule', 'uses' => 'ToursController@storeFormule']);
});
Exemplo n.º 4
0
<?php

Route::group(['prefix' => 'entreeplayer'], function () {
    standardRoutes('entreeplayer', 'EntreeplayersController');
    # Select Page pour EntreePlayer
    Route::get('selectplayer/{backUrl?}/{id?}', ['as' => 'entreeplayer.selectplayer', 'uses' => 'EntreeplayersController@selectPlayer']);
    # Place le joueur choisi par Select dans l'Entreeplayer donné
    Route::get('place/{backUrl?}/{player_id?}/{id?}', ['as' => 'entreeplayer.place', 'uses' => 'EntreeplayersController@place']);
});
Exemplo n.º 5
0
<?php

Route::group(['prefix' => 'entree'], function () {
    standardRoutes('entree', 'EntreesController');
    # Add one entree with player selected by select route
    Route::get('add/{backUrl?}/{player_id?}', ['as' => 'entree.add', 'uses' => 'EntreesController@add']);
});
Exemplo n.º 6
0
<?php

Route::group(['prefix' => 'userclub'], function () {
    standardRoutes('userclub', 'UserclubsController');
    # Add one club
    Route::get('add/{backUrl?}/{club_id?}', ['as' => 'userclub.add', 'uses' => 'UserclubsController@add']);
});
Exemplo n.º 7
0
<?php

Route::group(['prefix' => 'compet'], function () {
    standardRoutes('compet', 'CompetsController');
});
Exemplo n.º 8
0
<?php

Route::group(['prefix' => 'club'], function () {
    standardRoutes('club', 'ClubsController');
});
Exemplo n.º 9
0
<?php

Route::group(['prefix' => 'domaine'], function () {
    standardRoutes('domaine', 'DomainesController');
});
Exemplo n.º 10
0
<?php

Route::group(['prefix' => 'competcategorie'], function () {
    standardRoutes('competcategorie', 'CompetCategoriesController');
    # Add one categorie
    Route::get('add/{backUrl?}/{categorie_id?}', ['as' => 'competcategorie.add', 'uses' => 'CompetcategoriesController@add']);
    # Change tee_id
    Route::get('changetee/{backUrl?}/{id?}', ['as' => 'competcategorie.changetee', 'uses' => 'CompetcategoriesController@changetee']);
    # Save tee_id
    Route::post('savetee', ['as' => 'competcategorie.savetee', 'uses' => 'CompetcategoriesController@savetee']);
});