Ejemplo n.º 1
0
 public function updateSecurity($dropletId, DropletSecurityRequest $request)
 {
     // update the title...
     $this->dropletRepository->update($dropletId, $request->only('title'));
     // update the security settings...
     $this->dropletRepository->updateSecurity($dropletId, $request->all());
     flash()->success('Droplet updated');
     return redirect()->back();
 }