public function administration(AdminRepository $admins) { return view('admin.main')->with('admins', $admins->all())->with('roles', Role::all()); }
public function auth(AuthRequest $request, Guard $auth) { $this->admin->authReset($request->all(), $auth); return redirect('/dashboard')->with('ok', 'Change Auth successfully'); }