harish81 / digidocu

Open Source Documents Management System Built with Laravel 6
https://nandoliyaharish.gitbook.io/digidocu/
GNU General Public License v3.0
110 stars 65 forks source link

Fixed Missing required parameters for [Route: documents.files.create] [URI: admin/files-upload/{id}]. #6

Closed devraghvendra closed 4 years ago

devraghvendra commented 4 years ago

var urlToUp = '{{route('documents.files.create',['id'=>''])}}'+'/'+docId;

In the above id is required param, but in the above code it was null. So in the case pass the empty string in place of route parameter to by pass the required validation. For Ex.

var urlToUp = "{{route('documents.files.create', '')}}"+"/"+docId;

Screenshot (2) Screenshot (3)

harish81 commented 4 years ago

Thanks, @devraghvendra , Soon I will look into and merge it. Thank you!

harish81 commented 4 years ago

@devraghvendra great job, Merged!

devraghvendra commented 4 years ago

Thanks❤️ :)

On Fri, 16 Oct, 2020, 6:27 pm Harish Nandoliya, notifications@github.com wrote:

@devraghvendra https://github.com/devraghvendra great job, Merged!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/harish81/digidocu/pull/6#issuecomment-710028728, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIR3XU4MDKA4FVEHBNXG3BLSLA7LRANCNFSM4SLIY74A .