AdminController.php 357 B

1234567891011121314151617
  1. <?php
  2. namespace App\Http\Controllers;
  3. use Illuminate\Http\Request;
  4. use App\Application;
  5. class AdminController extends Controller
  6. {
  7. public function index(Request $request) {
  8. $apl = new Application();
  9. $apl1 = $apl::all();
  10. $apl2 = json_decode($apl1, true);
  11. return view('admin')->with(['applications' => $apl2]);
  12. }
  13. }