middleware(["auth"]); $this->middleware(["lang"]); } /* Index controller, all backend work for the about index pages is done here. */ public function index(Request $request) { /* Response::detect is a library that we use to detect if you are on mobile or desktop. If you are on mobile it sends you to the /resources/views/app/about/index and if you are on desktop it sends you to /resources/views/admin/about/index (There is no "about" on desktop view). Normally the index pages only contain the return of the index pages but you are allowed to modify the index function to how may like. */ return Response::detect("about.index"); } }