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(); }