<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class DashboardController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // $title = 'Dashboard PKM'; $data = [ 'title' => $title, ]; return view('backend.index', $data); } }