diff --git a/resources/views/fields/ckeditor.blade.php b/resources/views/fields/ckeditor.blade.php index d0e49dc5e..dc1d72792 100644 --- a/resources/views/fields/ckeditor.blade.php +++ b/resources/views/fields/ckeditor.blade.php @@ -119,7 +119,7 @@ classes: true, }, simpleUpload: { // The URL that the images are uploaded to. - uploadUrl: '{{ route('admin.attachments') }}', + uploadUrl: '{{ route(config('moonshine.route.prefix') . '.attachments') }}', }, // The "super-build" contains more premium features that require additional configuration, disable them below. // Do not turn them on unless you read the documentation and know how to configure them and setup the editor. @@ -156,5 +156,7 @@ classes: true, diff --git a/resources/views/fields/quill.blade.php b/resources/views/fields/quill.blade.php index 1af26e88b..129dd2e4a 100644 --- a/resources/views/fields/quill.blade.php +++ b/resources/views/fields/quill.blade.php @@ -1,4 +1,4 @@ -