Index: app/Http/Controllers/Dashboard/DepartmentsController.php
===================================================================
--- app/Http/Controllers/Dashboard/DepartmentsController.php	(revision 4521f25dd634bd4febb0ff65f20dac6e7e17b34a)
+++ app/Http/Controllers/Dashboard/DepartmentsController.php	(revision 8fdb18e3a60e9c9f7b25649594d8f3836c68559d)
@@ -40,6 +40,6 @@
         $location = 'Departments' . DIRECTORY_SEPARATOR . $request->code;
 
-        if(!Storage::disk('uploads')->has($location)){
-            Storage::disk('uploads')->makeDirectory($location);
+        if(!Storage::disk('local')->has($location)){
+            Storage::disk('local')->makeDirectory($location);
 
         }
@@ -77,6 +77,6 @@
         {
             $location = 'Departments' . DIRECTORY_SEPARATOR . $request->code;
-            if(!Storage::disk('uploads')->has($location)){
-                Storage::disk('uploads')->move($oldLocation, $location);
+            if(!Storage::disk('local')->has($location)){
+                Storage::disk('local')->move($oldLocation, $location);
                 $department->location = $location;
             }
@@ -136,9 +136,9 @@
 
             if($flag) {
-            $zip_file = Storage::disk('uploads')->path('Departments.zip');
+            $zip_file = Storage::disk('local')->path('Departments.zip');
             $zip = new \ZipArchive();
             $zip->open($zip_file, \ZipArchive::CREATE | \ZipArchive::OVERWRITE);
 
-            $path = Storage::disk('uploads')->path('Departments');
+            $path = Storage::disk('local')->path('Departments');
 
             $files = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($path));
@@ -180,8 +180,8 @@
 
             if($flag) {
-            $zip_file=Storage::disk('uploads')->path('Department.zip');
+            $zip_file=Storage::disk('local')->path('Department.zip');
             $zip = new \ZipArchive();
             $zip->open($zip_file, \ZipArchive::CREATE | \ZipArchive::OVERWRITE);
-            $path = Storage::disk('uploads')->path($department->location);
+            $path = Storage::disk('local')->path($department->location);
 
             $files = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($path));
Index: app/Http/Controllers/Dashboard/FilesController.php
===================================================================
--- app/Http/Controllers/Dashboard/FilesController.php	(revision 4521f25dd634bd4febb0ff65f20dac6e7e17b34a)
+++ app/Http/Controllers/Dashboard/FilesController.php	(revision 8fdb18e3a60e9c9f7b25649594d8f3836c68559d)
@@ -34,5 +34,5 @@
         $file = File::find($id);
         $file->delete();
-        Storage::disk('uploads')->delete($file->location);
+        Storage::disk('local')->delete($file->location);
         $file->folder()->decrement('no_of_files');
 
Index: app/Http/Controllers/Dashboard/FoldersController.php
===================================================================
--- app/Http/Controllers/Dashboard/FoldersController.php	(revision 4521f25dd634bd4febb0ff65f20dac6e7e17b34a)
+++ app/Http/Controllers/Dashboard/FoldersController.php	(revision 8fdb18e3a60e9c9f7b25649594d8f3836c68559d)
@@ -146,6 +146,6 @@
         $location = $folder->department->location . DIRECTORY_SEPARATOR . $request->name;
 
-        if (!Storage::disk('uploads')->has($location)) {
-            Storage::disk('uploads')->makeDirectory($location);
+        if (!Storage::disk('local')->has($location)) {
+            Storage::disk('local')->makeDirectory($location);
         }
 
@@ -254,5 +254,5 @@
             $folder->delete();
             $location = $folder->department->location . DIRECTORY_SEPARATOR . $folder->name;
-            Storage::disk('uploads')->deleteDirectory($location);
+            Storage::disk('local')->deleteDirectory($location);
             $folder->department()->decrement('no_of_folders');
             Alert::flash($folder->name . " deleted successfully");
@@ -269,9 +269,9 @@
 
             if($folder->no_of_files > 0) {
-                $zip_file = Storage::disk('uploads')->path('Folder.zip');
+                $zip_file = Storage::disk('local')->path('Folder.zip');
                 $zip = new \ZipArchive();
                 $zip->open($zip_file, \ZipArchive::CREATE | \ZipArchive::OVERWRITE);
 
-                $path = Storage::disk('uploads')->path($folder->department->location . DIRECTORY_SEPARATOR . $folder->name);
+                $path = Storage::disk('local')->path($folder->department->location . DIRECTORY_SEPARATOR . $folder->name);
 
                 $files = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($path));
Index: config/filesystems.php
===================================================================
--- config/filesystems.php	(revision 4521f25dd634bd4febb0ff65f20dac6e7e17b34a)
+++ config/filesystems.php	(revision 8fdb18e3a60e9c9f7b25649594d8f3836c68559d)
@@ -33,5 +33,5 @@
         'local' => [
             'driver' => 'local',
-            'root' => storage_path() . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'public',
+            'root' => storage_path() . DIRECTORY_SEPARATOR . 'app',
             'permissions' => [
                 'file' => [
@@ -60,5 +60,5 @@
         'uploads' => [
             'driver' => 'local',
-            'root'   => storage_path() . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'public',
+            'root'   => storage_path() . DIRECTORY_SEPARATOR . 'app',
         ],
 
@@ -88,5 +88,5 @@
 
     'links' => [
-        public_path('storage') => storage_path('app/public'),
+        public_path('storage') => storage_path('app'),
     ],
 
