bf48b216 by Jeff Balicki

e

1 parent 57b52f73
...@@ -34,7 +34,7 @@ class FilesController extends Controller ...@@ -34,7 +34,7 @@ class FilesController extends Controller
34 public function preview(File $file) 34 public function preview(File $file)
35 { 35 {
36 $path = storage_path('app/') . $file->path . $file->name_thumbnail; 36 $path = storage_path('app/') . $file->path . $file->name_thumbnail;
37 $handler = new \Symfony\Component\HttpFoundation\File\File($path); 37 $handler = new File($path);
38 38
39 $lifetime = 31556926; // One year in seconds 39 $lifetime = 31556926; // One year in seconds
40 40
......