summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/routes.php b/core/routes.php
index b4868c14cf3..a148ee091e6 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -121,9 +121,9 @@ $this->create('core_ajax_update', '/core/ajax/update.php')
->actionInclude('core/ajax/update.php');
// File routes
-$this->create('files.viewcontroller.showFile', '/f/{fileId}')->action(function($urlParams) {
+$this->create('files.viewcontroller.showFile', '/f/{fileid}')->action(function($urlParams) {
$app = new \OCA\Files\AppInfo\Application($urlParams);
- $app->dispatch('ViewController', 'showFile');
+ $app->dispatch('ViewController', 'index');
});
// Sharing routes