Skip to content

Commit

Permalink
fixedrouting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
yelypk committed Feb 2, 2024
1 parent 0196848 commit daa7504
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Illuminate\View\View;

class listofgoods extends Controller
class ListofgoodsController extends Controller
{
/**
* Show the profile for a given user.
Expand All @@ -16,4 +16,4 @@ public function index(): View
}
}

?>

18 changes: 9 additions & 9 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions public/phpmyadmin
File renamed without changes.
10 changes: 8 additions & 2 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,11 @@
return view('welcome');
});

use App\http\Controllers\listofgoods
Route::get('/listofgoods', [listofgoods::class, 'index']);
use App\Http\Controllers\ListofgoodsController;
Route::get('/listofgoods', [ListofgoodsController::class, 'index']);



Route::get('/foo', function () {
return view('listofgoods');
});
Empty file modified storage/framework/.gitignore
100644 → 100755
Empty file.
Empty file modified storage/framework/cache/.gitignore
100644 → 100755
Empty file.
Empty file modified storage/framework/cache/data/.gitignore
100644 → 100755
Empty file.
Empty file modified storage/framework/sessions/.gitignore
100644 → 100755
Empty file.
Empty file modified storage/framework/testing/.gitignore
100644 → 100755
Empty file.
Empty file modified storage/framework/views/.gitignore
100644 → 100755
Empty file.
Empty file modified storage/logs/.gitignore
100644 → 100755
Empty file.

0 comments on commit daa7504

Please sign in to comment.