]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/BookExportController.php
Applied styleci style changes
[bookstack] / app / Http / Controllers / BookExportController.php
index 5e6d7c6adc8f22f970550814825c43f3451fb2a3..7f6dd801752b5e3901cb6188e3dc200888f32984 100644 (file)
@@ -18,6 +18,7 @@ class BookExportController extends Controller
     {
         $this->bookRepo = $bookRepo;
         $this->exportFormatter = $exportFormatter;
+        $this->middleware('can:content-export');
     }
 
     /**