protected function createRoutesFile()
    {
        $file = $this->directory.'/routes.php';

        $contents = $this->getStub('routes');
        $this->laravel['files']->put($file, str_replace('DummyNamespace', config('admin.route.namespace'), $contents));
        $this->line('<info>Routes file was created:</info> '.str_replace(base_path(), '', $file));
    }
protected function createRoutesFile()
    {
        $file = $this->directory.'/routes.php';

        $contents = $this->getStub('routes');
        $this->laravel['files']->put($file, str_replace('DummyNamespace', config('admin.route.namespace'), $contents));
        $this->line('<info>Routes file was created:</info> '.str_replace(base_path(), '', $file));
    }
protected function createRoutesFile ( ) { $ file = $ this -> directory . '/routes.php' ; $ contents = $ this -> getStub ( 'routes' ) ; $ this -> laravel [ 'files' ] -> put ( $ file , str_replace ( 'DummyNamespace' , config ( 'admin.route.namespace' ) , $ contents ) ) ; $ this -> line ( '<info>Routes file was created:</info> ' . str_replace ( base_path ( ) , '' , $ file ) ) ; }
Create routes file.

@return void
Create routes file .