Changeset bdda09f for app/Http/Controllers
- Timestamp:
- 10/25/21 12:50:26 (3 years ago)
- Branches:
- develop, master
- Children:
- 507ade0
- Parents:
- 233e950
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
app/Http/Controllers/Dashboard/DepartmentsController.php
r233e950 rbdda09f 141 141 $headers = array('Content-Type' => 'application/octet-stream'); 142 142 $zip_new_name = Carbon::now()->format('d.m.Y - H:i') . '- Departments.zip'; 143 return response()->download($zip_file, $zip_new_name, $headers);144 143 } 145 144 catch(\Exception $e){ … … 148 147 return redirect()->back(); 149 148 } 149 return response()->download($zip_file, $zip_new_name, $headers); 150 150 } 151 151
Note:
See TracChangeset
for help on using the changeset viewer.