Mohammad Chavoshi Mohammad Chavoshi - 1 year ago 83
PHP Question

how can i publish HTML and plain-text template used by mail notifications in laravel?

when I run this command :

php artisan vendor:publish --tag=laravel-notifications

To publishing the HTML and plain-text template used by mail notifications,this throws the following error :


Invalid route action: [App\Http\Controllers]

Why this is happening?

Answer Source

Looks like it's not related to vendor:publish. The error is telling you that one of the uses clause in your route file web.php (default) is not recognisable, or not defined, or malformed. Make sure all uses is indeed pointing to defined Controller@action.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download