public function map()
    {
        $this->prefix('statuses')->as('statuses.')->group(function () {
            $this->get('/', 'StatusesController@index')
                 ->name('index');  // admin::backups.statuses.index

            $this->post('backup', 'StatusesController@backup')
                 ->middleware('ajax')
                 ->name('backup'); // admin::backups.statuses.backup

            $this->post('clear', 'StatusesController@clear')
                 ->middleware('ajax')
                 ->name('clear');  // admin::backups.statuses.clear

            $this->get('{index}', 'StatusesController@show')
                 ->name('show');   // admin::backups.statuses.clear
        });
    }
public function map()
    {
        $this->prefix('statuses')->as('statuses.')->group(function () {
            $this->get('/', 'StatusesController@index')
                 ->name('index');  // admin::backups.statuses.index

            $this->post('backup', 'StatusesController@backup')
                 ->middleware('ajax')
                 ->name('backup'); // admin::backups.statuses.backup

            $this->post('clear', 'StatusesController@clear')
                 ->middleware('ajax')
                 ->name('clear');  // admin::backups.statuses.clear

            $this->get('{index}', 'StatusesController@show')
                 ->name('show');   // admin::backups.statuses.clear
        });
    }
public function map ( ) { $ this -> prefix ( 'statuses' ) -> as ( 'statuses.' ) -> group ( function ( ) { $ this -> get ( '/' , 'StatusesController@index' ) -> name ( 'index' ) ; // admin::backups.statuses.index $ this -> post ( 'backup' , 'StatusesController@backup' ) -> middleware ( 'ajax' ) -> name ( 'backup' ) ; // admin::backups.statuses.backup $ this -> post ( 'clear' , 'StatusesController@clear' ) -> middleware ( 'ajax' ) -> name ( 'clear' ) ; // admin::backups.statuses.clear $ this -> get ( '{index}' , 'StatusesController@show' ) -> name ( 'show' ) ; // admin::backups.statuses.clear } ) ; }
Map the routes for the application.
Map the routes for the application .