spatie / mailcoach-support

Questions and support for Mailcoach
https://mailcoach.app
31 stars 2 forks source link

Routes for Unlayer not rendering for S3 #282

Closed mklahorst closed 3 years ago

mklahorst commented 3 years ago

Laravel 8 PHP 7.4 Mailcoach 3

I installed the package using Composer as a new package.

Per the docs here: https://mailcoach.app/docs/v2/package/customizing-the-editor/unlayer

Adding 'Route::mailcoachUnlayer('mailcoachUnlayer');' to the map() method to the RouteServiceProvider is not creating the routes. When I set 'disk_name' in the docs to use 's3', there is an error in the network console that the upload path is not found in the controller that should exist based on the macro.

I tried clearing the caches but still am unable to get the routes to be created.

Anything else I can try here?

freekmurze commented 3 years ago

Is map being called? Put a dd statement there to know for sure. Could you try adding it in the boot or register method of the service provider?

freekmurze commented 3 years ago

Closing due to inactivity