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 /app/Http/Controllers | |
download | yota-laravel-b981dc8715b36c83107de4c2868e3410a6faf457.tar.gz yota-laravel-b981dc8715b36c83107de4c2868e3410a6faf457.zip |
First commit
Diffstat (limited to 'app/Http/Controllers')
-rw-r--r-- | app/Http/Controllers/Controller.php | 13 | ||||
-rw-r--r-- | app/Http/Controllers/PagesController.php | 23 |
2 files changed, 36 insertions, 0 deletions
diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php new file mode 100644 index 0000000..a0a2a8a --- /dev/null +++ b/app/Http/Controllers/Controller.php @@ -0,0 +1,13 @@ +<?php + +namespace App\Http\Controllers; + +use Illuminate\Foundation\Auth\Access\AuthorizesRequests; +use Illuminate\Foundation\Bus\DispatchesJobs; +use Illuminate\Foundation\Validation\ValidatesRequests; +use Illuminate\Routing\Controller as BaseController; + +class Controller extends BaseController +{ + use AuthorizesRequests, DispatchesJobs, ValidatesRequests; +} diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php new file mode 100644 index 0000000..c30392a --- /dev/null +++ b/app/Http/Controllers/PagesController.php @@ -0,0 +1,23 @@ +<?php + +namespace App\Http\Controllers; + +use Illuminate\Http\Request; + +class PagesController extends Controller +{ + public function index() + { + return view('about'); + } + + public function services() + { + return view('about'); + } + + public function about() + { + return view('about'); + } +} |