]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Kernel.php
Updated issue template and added TinyMCE autolinking
[bookstack] / app / Http / Kernel.php
index f1d95f5c070da381114dad0f3c41a4b69495ec90..c55cc9ab8d47f11caa0ee7bacf9b1cee705b73bf 100644 (file)
@@ -1,6 +1,4 @@
-<?php
-
-namespace BookStack\Http;
+<?php namespace BookStack\Http;
 
 use Illuminate\Foundation\Http\Kernel as HttpKernel;
 
@@ -30,6 +28,7 @@ class Kernel extends HttpKernel
             \Illuminate\View\Middleware\ShareErrorsFromSession::class,
             \BookStack\Http\Middleware\VerifyCsrfToken::class,
             \Illuminate\Routing\Middleware\SubstituteBindings::class,
+            \BookStack\Http\Middleware\Localization::class
         ],
         'api' => [
             'throttle:60,1',