Route::any('bookReturn', 'Admin\\BookController@bookReturn'); Route::post('bookReturnAction', 'Admin\\BookController@bookReturnAction'); Route::any('bookLoss', 'Admin\\BookController@bookLoss'); Route::post('bookLossAction', 'Admin\\BookController@bookLossAction'); Route::any('readerSearch', 'Admin\\ReaderController@readerSearch'); Route::any('readerSearchAction', 'Admin\\ReaderController@readerSearchAction'); Route::get('readerDetail', 'Admin\\ReaderController@readerDetail'); Route::post('readerSaveAction', 'Admin\\ReaderController@readerSaveAction'); Route::any('readerLoss', 'Admin\\ReaderController@readerLoss'); Route::post('readerLossAction', 'Admin\\ReaderController@readerLossAction'); Route::any('readerFound', 'Admin\\ReaderController@readerFound'); Route::post('readerFoundAction', 'Admin\\ReaderController@readerFoundAction'); Route::any('overTime', 'Admin\\SystemController@overTime'); Route::any('changePassword', 'Admin\\SystemController@changePassword'); Route::post('changePasswordAction', 'Admin\\SystemController@changePasswordAction'); Route::any('levelManage', 'Admin\\SystemController@levelManage'); Route::any('levelDel', 'Admin\\SystemController@levelDel'); Route::any('levelAdd', 'Admin\\SystemController@levelAdd'); Route::any('levelAddAction', 'Admin\\SystemController@levelAddAction'); }); Route::group(['prefix' => 'reader', 'middleware' => ['UserAuth']], function () { route::any('home', 'Reader\\IndexController@home'); route::any('search', 'Reader\\IndexController@search'); route::any('advancedSearch', 'Reader\\IndexController@advancedSearch'); route::any('advancedSearchAction', 'Reader\\IndexController@advancedSearchAction'); route::any('history', 'Reader\\IndexController@history'); route::any('info', 'Reader\\IndexController@info'); route::any('infoSave', 'Reader\\IndexController@infoSave'); route::any('changePassword', 'Reader\\IndexController@changePassword'); route::any('changePasswordAction', 'Reader\\IndexController@changePasswordAction'); });
Route::match(['get', 'post'], 'instantsearch', 'BillsController@searchinst'); Route::any('bills/exportExcel/{ids?}', 'BillsController@exportExcel'); Route::any('bills/exportPdf/{ids?}', 'BillsController@exportPdf'); // showef famille bills (account Family) Route::get('bills/showef/{id}', 'BillsController@showef'); Route::get('bills/indexef', 'BillsController@indexef'); Route::get('schools/editef/{id}', 'SchoolsController@editef'); Route::post('schools/updatepassef', 'SchoolsController@updatepassef'); Route::post('schools/deleteSchools', 'SchoolsController@deleteSchools'); // delete schools Route::post('schools/bloquer', 'SchoolsController@bloquer'); Route::post('schools/debloquer', 'SchoolsController@debloquer'); Route::post('schools/offess', 'SchoolsController@offess'); // status trier officiel or essai Route::get('schools/delete/{id}', 'SchoolsController@delete'); route::any('schools/promotion/{id?}', 'SchoolsController@promotion'); Route::post('bills/checkpassofregler', 'BillsController@checkpassofregler'); // vérifie le mot de pass avant de régler Route::get('bills/indexnr', 'BillsController@indexnr'); // index factures non réglées Route::post('bills/filterByYear', 'BillsController@filterByYear'); // filter by year Route::post('bills/filterByYearef', 'BillsController@filterByYearef'); // filter by year compte famille Route::post('bills/filterByMonthef', 'BillsController@filterByMonthef'); // filter by month compte famille Route::post('bills/statusindexef', 'BillsController@statusindexef'); // filter status compte famille // archive and delete bills Route::get('bills/archive/{id}', 'BillsController@archive'); Route::get('bills/delete/{id}', 'BillsController@delete');
/* * Looking for a way to implement universal rules for your site? You can place * routes in this file that will run across the entire application. Add your * alternative routes (see: sample.php) before and after io::ornithopter(); as * needed for your project. You can use this for custom routing, loading default * models or classes, templating engines, session management and so much more! */ // Pre application code route::any('/.*', function () { // Your code here io::library('page')->theme('_layout')->optimize(); }); // Standard routing io::ornithopter(); // Post application code route::any('/.*', function () { // Your code here }); /* * Other routing types are possible based on any REQUEST_METHOD, url pattern, * or even exact route matching. You can add as many unique routes to this file * as you want. Just remember io::ornithopter() is the main framework routing. * * @method route::get('/*', function(){ //code }); * @method route::post('/*', function(){ //code }); * @method route::any('/*', function(){ //code }); * @method route::put('/*', function(){ //code }); * @method route::delete('/*', function(){ //code }); * @method route::update('/*', function(){ //code }); * @method route::custom('/*', function(){ //code }); */
* Sample: Routes true for any POST request * * @return void */ route::post('.*', function () { // Say hello echo '<h2>2: All matching <stron>POST</stron> Requests</h2>'; }); /* * Sample: Routes true for any ANY request * * @return void */ route::any('.*', function () { // Say hello echo '<h2>3: Any matching HTTP Requests</h2>'; // Uh... Say something echo '<p>Not much to say... But hopefully this helps you understand alternative routes!</p>'; // Print a Go Home link echo '<a href="./">Go back to Ornithopter.io homepage</a>'; // Notice the "Stop Routing" true boolean here; Try changing to "false" }, true); /* * Sample: This function will not execute if the above functions routes * * @return void */ route::any('.*', function () { // Say hello echo '<h3>4: This will not show, because the previous route was TRUE</h3>'; });