commit | 442b50b0c78a8c630b139d3a9a30d3b731253565 | [log] [tgz] |
---|---|---|
author | Fatih Kalifa <fatih@pvey.es> | Fri Nov 01 02:44:56 2013 +0700 |
committer | Fatih Kalifa <fatih@pvey.es> | Fri Nov 01 02:44:56 2013 +0700 |
tree | c286e09ca0735068aeddeccd7545cb017c030a9c | |
parent | e23ba1373b347ecca61c371c96f0e33da443e915 [diff] |
Enable HTTP Verb in Routing Using array for HTTP Verb e.g: $route['(:any)']['POST'] = "controller/post_method"; $route['path']['GET'] = "controller/path_get_method"; $route['path']['(:any)'] = "controller/path_any_method"; Using (:any) or not will make same result e.g: $route['path']['(:any)'] == $route['path'] So it won't break existing route