diff options
author | Mateja <mail@matejamaric.com> | 2021-03-14 14:19:33 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-03-14 14:19:33 +0100 |
commit | c5209f1a698113f48d7435c5363b11e925d16e23 (patch) | |
tree | 557eed9a19f25f33fee329b8eeb7a899161325bc /app/Http/Controllers | |
parent | 00abd5229c63b570af751406fc322e197c4f51c0 (diff) | |
download | yota-laravel-c5209f1a698113f48d7435c5363b11e925d16e23.tar.gz yota-laravel-c5209f1a698113f48d7435c5363b11e925d16e23.zip |
Add `/special-calls/show` route.
Diffstat (limited to 'app/Http/Controllers')
-rw-r--r-- | app/Http/Controllers/SpecialCallsController.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/Http/Controllers/SpecialCallsController.php b/app/Http/Controllers/SpecialCallsController.php index 025d955..a26af78 100644 --- a/app/Http/Controllers/SpecialCallsController.php +++ b/app/Http/Controllers/SpecialCallsController.php @@ -13,6 +13,13 @@ use App\Models\SpecialCall; class SpecialCallsController extends Controller { + public function index(Request $request) + { + //$data = SpecialCall::select('sign')->get()->toArray(); + $data = SpecialCall::all()->toArray(); + return $data; + } + public function create(Request $request) { $data = SpecialCall::all(); |