diff options
author | Fatih Kalifa <fatih@pvey.es> | 2013-10-31 20:44:56 +0100 |
---|---|---|
committer | Fatih Kalifa <fatih@pvey.es> | 2013-10-31 20:44:56 +0100 |
commit | 442b50b0c78a8c630b139d3a9a30d3b731253565 (patch) | |
tree | c286e09ca0735068aeddeccd7545cb017c030a9c /system/libraries | |
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
Diffstat (limited to 'system/libraries')
0 files changed, 0 insertions, 0 deletions