summaryrefslogtreecommitdiffstats
path: root/application/config/routes.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-09-02 00:44:19 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-09-19 21:41:30 +0200
commitc199a758635f04c193b812052186fe19366f4f2e (patch)
tree0f532cd19d01f6fa01630746b267d973e37a5ea7 /application/config/routes.php
parent250ceecea5b01c1421aa6142a7906c54841561c8 (diff)
Move file controller into subdir
This allows to more easily split the controller into smaller parts in the future. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/config/routes.php')
-rw-r--r--application/config/routes.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/config/routes.php b/application/config/routes.php
index 23c9bebee..9583ff37c 100644
--- a/application/config/routes.php
+++ b/application/config/routes.php
@@ -38,12 +38,12 @@
|
*/
-$route['default_controller'] = "file";
+$route['default_controller'] = "file/file_default";
$route['user/(:any)'] = "user/$1";
-$route['file/(:any)'] = "file/$1";
+$route['file/(:any)'] = "file/file_default/$1";
$route['tools/(:any)'] = "tools/$1";
$route['api/(:any)'] = "api/route/$1";
-$route['(:any)'] = "file/index/$1";
+$route['(:any)'] = "file/file_default/index/$1";
$route['404_override'] = '';