1234567891011121314151617 |
- <?php
- namespace App\Http\Controllers;
- use Illuminate\Http\Request;
- use App\Application;
- class AdminController extends Controller
- {
- public function index(Request $request) {
- $apl = new Application();
- $apl1 = $apl::all();
- $apl2 = json_decode($apl1, true);
- return view('admin')->with(['applications' => $apl2]);
- }
- }
|