diff options
author | Dotan Cohen <github-com-2010.04@dotancohen.com> | 2015-08-23 16:32:54 +0200 |
---|---|---|
committer | Dotan Cohen <github-com-2010.04@dotancohen.com> | 2015-08-23 16:32:54 +0200 |
commit | 53626ec7797292979f568e72cd2458d7ca1b25ef (patch) | |
tree | 18a1c10baa6c3d43efdc4611683c77721ac89632 /application | |
parent | ff1ba4eb668bb3221b37d39aca2d0958efbb13dc (diff) |
Specify to which character dashes will be replaced
Diffstat (limited to 'application')
-rw-r--r-- | application/config/routes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/config/routes.php b/application/config/routes.php index a98c6d122..599c79b0e 100644 --- a/application/config/routes.php +++ b/application/config/routes.php @@ -43,8 +43,8 @@ defined('BASEPATH') OR exit('No direct script access allowed'); | This is not exactly a route, but allows you to automatically route | controller and method names that contain dashes. '-' isn't a valid | class or method name character, so it requires translation. -| When you set this option to TRUE, it will replace ALL dashes in the -| controller and method URI segments. +| When you set this option to TRUE, it will replace ALL dashes with +| underscores in the controller and method URI segments. | | Examples: my-controller/index -> my_controller/index | my-controller/my-method -> my_controller/my_method |