From c199a758635f04c193b812052186fe19366f4f2e Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 2 Sep 2016 00:44:19 +0200 Subject: Move file controller into subdir This allows to more easily split the controller into smaller parts in the future. Signed-off-by: Florian Pritz --- application/config/routes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/config/routes.php') 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'] = ''; -- cgit v1.2.3-24-g4f1b