- @foreach ($this->organizations as $org)
+ @foreach ($organizations as $org)
@endforeach
diff --git a/resources/views/home.blade.php b/resources/views/organizations/index.blade.php
similarity index 84%
rename from resources/views/home.blade.php
rename to resources/views/organizations/index.blade.php
index 00e2bf4..8273982 100644
--- a/resources/views/home.blade.php
+++ b/resources/views/organizations/index.blade.php
@@ -1,5 +1,5 @@
-
+
About
diff --git a/resources/views/technologies/show.blade.php b/resources/views/technologies/show.blade.php
deleted file mode 100644
index 18ad4d1..0000000
--- a/resources/views/technologies/show.blade.php
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/routes/web.php b/routes/web.php
index b45a9ab..2580594 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -1,11 +1,12 @@
name('home');
+Route::get('/', [OrganizationController::class, 'index'])->name('home');
Route::get('orgs/{organization}', function (Organization $organization) {
return view('organizations.show', ['organization' => $organization]);
})->name('organizations.show');
@@ -16,7 +17,7 @@
require __DIR__ . '/auth.php';
-Route::view('{technology}', 'technologies.show')->name('technologies.show');
+Route::get('{technology}', [OrganizationController::class, 'indexbyTechnology'])->name('technologies.show');
/*