PHP Classes

File: src/stubs/module/adminroutes.stub

Recommend this page to a friend!
  Classes of Shun Ram   Laravel Admin   src/stubs/module/adminroutes.stub   Download  
File: src/stubs/module/adminroutes.stub
Role: Example script
Content type: text/plain
Description: Example script
Class: Laravel Admin
Manage users and the site content they publish
Author: By
Last change:
Date: 1 year ago
Size: 328 bytes
 

Contents

Class file image Download
<?php
/*
 * get countries data
 */
Route::post('get-{module}-data','{class}@getData')->name('get_{module}_data_from_admin');
/*
 * bulk action
 */
Route::post('do-status-change-for-{module}/{action}','{class}@statusChange')->name('{module}_action_from_admin');
/*
* resource controller
*/
Route::resource('{module}','{class}');