Devise\Support\Console\DevisePublishAssetsCommand::copyHomepageViewToApplication PHP Method

copyHomepageViewToApplication() protected method

Copies the homepage view to the application if this file doesn't already exist
protected copyHomepageViewToApplication ( ) : void
return void
    protected function copyHomepageViewToApplication()
    {
        $target = $this->__DIR__ . '/../../../views/installer/index-post-install.blade.php';
        $source = $this->base_path . '/resources/views/homepage.blade.php';
        if (!$this->File->exists($source)) {
            $this->File->copy($target, $source);
        }
    }