src/Providers/InvoiceServiceProvider.php
public function loadExtraRoutes()
    {
        $config = Config::get('amethyst.invoice.http.admin.invoice');

        if (Arr::get($config, 'enabled')) {
            Router::group('admin', Arr::get($config, 'router'), function ($router) use ($config) {
                $controller = Arr::get($config, 'controller');
                $router->post('/{id}/issue', ['as' => 'issue', 'uses' => $controller.'@issue']);
            });
        }
    }
public function loadExtraRoutes()
    {
        $config = Config::get('amethyst.invoice.http.admin.invoice');

        if (Arr::get($config, 'enabled')) {
            Router::group('admin', Arr::get($config, 'router'), function ($router) use ($config) {
                $controller = Arr::get($config, 'controller');
                $router->post('/{id}/issue', ['as' => 'issue', 'uses' => $controller.'@issue']);
            });
        }
    }
public function loadExtraRoutes ( ) { $ config = Config :: get ( 'amethyst.invoice.http.admin.invoice' ) ; if ( Arr :: get ( $ config , 'enabled' ) ) { Router :: group ( 'admin' , Arr :: get ( $ config , 'router' ) , function ( $ router ) use ( $ config ) { $ controller = Arr :: get ( $ config , 'controller' ) ; $ router -> post ( '/{id}/issue' , [ 'as' => 'issue' , 'uses' => $ controller . '@issue' ] ) ; } ) ; } }
Load extra routes.
Load extra routes .