Skip to content

Commit 8f502cf

Browse files
committed
quick fixes
1 parent 44a0899 commit 8f502cf

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

app/Http/Controllers/PageController.php

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,34 @@
11
<?php
22

33
namespace App\Http\Controllers;
4-
use App\Http\Controllers\Controller;
5-
use Illuminate\Http\Request;
64

75
class PageController extends Controller
86
{
97

8+
/**
9+
* Return the homepage view
10+
* @return mixed
11+
*/
1012
public function home()
1113
{
1214
return view('welcome');
1315

1416
}
1517

18+
/**
19+
* Return the api dashboard view listing available apis
20+
* @return mixed
21+
*/
1622
public function api()
1723
{
1824
return view('apidashboard');
1925

2026
}
2127

28+
/**
29+
* Return the contact page view
30+
* @return mixed
31+
*/
2232
public function contact()
2333
{
2434
return view('contact');

0 commit comments

Comments
 (0)