Skip to content

Commit

Permalink
Blog Route Improved
Browse files Browse the repository at this point in the history
Blog Route Improved
  • Loading branch information
codephics committed Aug 15, 2024
1 parent 6628a9e commit ed6af74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/views/frontend/blog/more.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{{ route('front.home') }}">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">More Blog</li>
<li class="breadcrumb-item active" aria-current="page">More Blogs</li>
</ol>
</nav>
</div>
Expand Down
4 changes: 2 additions & 2 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
|--------------------------------------------------------------------------
*/

Route::get('blog', [PageController::class, 'blogs'])->name('blog.more');
Route::get('blog/{slug}', [PageController::class, 'detail'])->name('blog.detail');
Route::get('blog/more-blogs', [PageController::class, 'blogs'])->name('blog.more');
Route::get('blog/detail/{slug}', [PageController::class, 'detail'])->name('blog.detail');

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit ed6af74

Please sign in to comment.