diff options
author | Mateja <mail@matejamaric.com> | 2020-10-07 18:41:35 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-10-07 18:41:35 +0200 |
commit | b981dc8715b36c83107de4c2868e3410a6faf457 (patch) | |
tree | 899a97261d0b901740cfbd949fc0839bb7a1e607 /routes/web.php | |
download | yota-laravel-b981dc8715b36c83107de4c2868e3410a6faf457.tar.gz yota-laravel-b981dc8715b36c83107de4c2868e3410a6faf457.zip |
First commit
Diffstat (limited to 'routes/web.php')
-rw-r--r-- | routes/web.php | 37 |
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'); |