42coders / eu-cookie-consent

MIT License
60 stars 16 forks source link

Error: 'not found' when onclick save-button or accept-button #9

Open samandira opened 3 years ago

samandira commented 3 years ago

For route "/saveTheCookie" my browser had an error that the page couldn't be found.

So I changed the line in \resources\views\vendor\eu-cookie-consent\popup.blade.php: <form action="{{ config('eu-cookie-consent.route') }}" method="POST">

into <form action="{{ url(config('eu-cookie-consent.route')) }}" method="POST">

Now it works.