Inheritance: extends App\Repositories\Eloquent\Repository
Ejemplo n.º 1
0
 public function administration(AdminRepository $admins)
 {
     return view('admin.main')->with('admins', $admins->all())->with('roles', Role::all());
 }
Ejemplo n.º 2
0
 public function auth(AuthRequest $request, Guard $auth)
 {
     $this->admin->authReset($request->all(), $auth);
     return redirect('/dashboard')->with('ok', 'Change Auth successfully');
 }