summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-10-31 22:01:09 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2012-10-31 22:02:19 +0100
commite7b0267dc715d35f7d34c2230455cf7d4dd68033 (patch)
tree062b6007d73d4021866b76936f19166038e39b97 /index.php
parent323dd4c9b18c331516f024332fd5ee354e337492 (diff)
added docstrings to the changes
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 45acad4c6..957089cfc 100644
--- a/index.php
+++ b/index.php
@@ -13,8 +13,8 @@
namespace OCA\News;
-require_once \OC_App::getAppPath('news') . '/lib/url.php';
+require_once \OC_App::getAppPath('news') . '/lib/serve.php';
require_once \OC_App::getAppPath('news') . '/controllers/news.controller.php';
// routes
-url(new NewsController(), 'index'); \ No newline at end of file
+serve(new NewsController(), 'index', false);