aboutsummaryrefslogtreecommitdiff
path: root/routes/web.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/web.php')
-rw-r--r--routes/web.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/routes/web.php b/routes/web.php
new file mode 100644
index 0000000..d83200b
--- /dev/null
+++ b/routes/web.php
@@ -0,0 +1,37 @@
+<?php
+
+use Illuminate\Support\Facades\Route;
+use App\Http\Controllers\PagesController;
+
+/*
+|--------------------------------------------------------------------------
+| Web Routes
+|--------------------------------------------------------------------------
+|
+| Here is where you can register web routes for your application. These
+| routes are loaded by the RouteServiceProvider within a group which
+| contains the "web" middleware group. Now create something great!
+|
+*/
+
+//Route::get('/', function () {
+ //return view('welcome');
+//});
+
+//Route::get('/hello', function () {
+ //return "Hello World!";
+//});
+
+//Route::get('/hello/{id}/{name}', function ($id, $name) {
+ //return "#$id: Hello $name!";
+//});
+
+//Route::get('/about', function () {
+ //return view('about');
+//});
+
+Route::get('/', [PagesController::class, 'index']);
+Route::get('/services', [PagesController::class, 'services']);
+
+Route::get('/about', [PagesController::class, 'about']);
+//Route::get('/about', 'App\Http\Controllers\PagesController@about');