jeudi 7 janvier 2016

Laravel 5: No hint path defined for [Auth]

I'm loading view for mail

$this->mail->send('auth::emails.email_confirmation', ['url' => $confirmationEmailUrl], function ($m) use ($user,  $toMail) {
            $m->to($toMail, $user->name)->subject('mail');
        });

And Service Provider

 public function registerViews()
    {
        $viewPath = base_path('resources/views/modules/auth');

        $sourcePath = __DIR__ . '/../Resources/views';

        $this->publishes([
            $sourcePath => $viewPath
        ]);

        $this->loadViewsFrom([$viewPath, $sourcePath], 'auth');
    } 

Note: I'm using pingpong module structure.

Any idea what's problem with this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire