src/Providers/RouteServiceProvider.php
public function map(Router $router)
    {
        $router->group([ 'prefix' => config('docit.base_route'), 'namespace' => $this->namespace ], function ($router)
        {

            require(realpath(__DIR__ . '/../Http/routes.php'));
        });
    }
public function map(Router $router)
    {
        $router->group([ 'prefix' => config('docit.base_route'), 'namespace' => $this->namespace ], function ($router)
        {

            require(realpath(__DIR__ . '/../Http/routes.php'));
        });
    }
public function map ( Router $ router ) { $ router -> group ( [ 'prefix' => config ( 'docit.base_route' ) , 'namespace' => $ this -> namespace ] , function ( $ router ) { require ( realpath ( __DIR__ . '/../Http/routes.php' ) ) ; } ) ; }
Define the routes for Docit.

@param Illuminate\Routing\Router $router
@return void
Define the routes for Docit .