Web layout
This commit is contained in:
21
app/Http/Controllers/HomeController.php
Normal file
21
app/Http/Controllers/HomeController.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
class HomeController extends Controller
|
||||
{
|
||||
public function home() {
|
||||
return view('home');
|
||||
}
|
||||
|
||||
public function network(string $name)
|
||||
{
|
||||
return view('networks')
|
||||
->with('content',$name)
|
||||
->with('network',$name);
|
||||
}
|
||||
|
||||
public function welcome() {
|
||||
return view('welcome');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user