summaryrefslogtreecommitdiffstats
path: root/app/news.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/news.php')
-rw-r--r--app/news.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/news.php b/app/news.php
index 85324493e..18891f2c8 100644
--- a/app/news.php
+++ b/app/news.php
@@ -374,7 +374,7 @@ class News extends App {
);
});
- $container->registerMiddleWare($container['CORSMiddleware']);
+ $container->registerMiddleWare('CORSMiddleware');
}
}