コード例 #1
0
 public function update(Requests\AddressRequest $addressRequest, $id)
 {
     Address::find($id)->update($addressRequest->all());
     return redirect()->route('account_address');
 }
コード例 #2
0
 public function destroy($id)
 {
     Address::findOrNew($id)->delete();
     return redirect()->route('account_address');
 }