public static function routes(Router $router, $namespace = 'TeamTeaTime\Filer\Controllers')
    {
        $router->group(compact('namespace'), function ($router) {
            $router->get('{id}', [
                'as'    => 'filer.file.view',
                'uses'  => 'LocalFileController@view'
            ]);
            $router->get('{id}/download', [
                'as'    => 'filer.file.download',
                'uses'  => 'LocalFileController@download'
            ]);
        });
    }
public static function routes(Router $router, $namespace = 'TeamTeaTime\Filer\Controllers')
    {
        $router->group(compact('namespace'), function ($router) {
            $router->get('{id}', [
                'as'    => 'filer.file.view',
                'uses'  => 'LocalFileController@view'
            ]);
            $router->get('{id}/download', [
                'as'    => 'filer.file.download',
                'uses'  => 'LocalFileController@download'
            ]);
        });
    }
public static function routes ( Router $ router , $ namespace = 'TeamTeaTime\Filer\Controllers' ) { $ router -> group ( compact ( 'namespace' ) , function ( $ router ) { $ router -> get ( '{id}' , [ 'as' => 'filer.file.view' , 'uses' => 'LocalFileController@view' ] ) ; $ router -> get ( '{id}/download' , [ 'as' => 'filer.file.download' , 'uses' => 'LocalFileController@download' ] ) ; } ) ; }
Define the standard routes.

@param  Router  $router
@param  string  $namespace
@return void
Define the standard routes .