Add downloads page

This commit is contained in:
Nabeel Shahzad
2018-04-02 18:37:41 -05:00
parent 36a7886668
commit 3dba586f83
8 changed files with 142 additions and 73 deletions

View File

@@ -54,7 +54,7 @@ class FileController extends Controller
$file = $request->file('file');
$this->fileSvc->saveFile($file, 'files', [
'name' => $attrs['filename'],
'description' => $attrs['file_descriptoin'],
'description' => $attrs['file_description'],
'ref_model' => $attrs['ref_model'],
'ref_model_id' => $attrs['ref_model_id'],
]);