]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/ChapterExportController.php
Fixed occurances of altered titles in search results
[bookstack] / app / Http / Controllers / ChapterExportController.php
index 2758496d2062b307964774e4a669ff8884cd75bc..480280c99ef6dc83a169ba1762d5e4fc0edd4d36 100644 (file)
@@ -19,6 +19,7 @@ class ChapterExportController extends Controller
     {
         $this->chapterRepo = $chapterRepo;
         $this->exportFormatter = $exportFormatter;
+        $this->middleware('can:content-export');
     }
 
     /**