python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to change Route Model Binding finding data from id to slug
I have a route like the following.
Route::get('/articles/{articleSlug}' ,
[App\Http\Controllers\ArticleController::class, 'single']);
And the method of single() at ArticleController class goes h...
Pouya
Votes: 0
Answers: 5
How to pass encrypted ID as route parameter in Laravel Route Model Binding
I want to pass encrypted ID as route parameter. Currently, I'm using Route model binding and it returns a 404
Arun Raj KV
Votes: 0
Answers: 1
Route Model Binding Problem Does Not Seem To Be Working
I'm working with Laravel 8 and I have made a table like this at Blade:
<div class="card-body table-responsive p-0">
<table class="table table-hover">
<tr...
memite7760
Votes: 0
Answers: 2