summaryrefslogtreecommitdiffstats
path: root/system/helpers/path_helper.php
diff options
context:
space:
mode:
authorFatih Kalifa <fatih@pvey.es>2013-10-31 20:44:56 +0100
committerFatih Kalifa <fatih@pvey.es>2013-10-31 20:44:56 +0100
commit442b50b0c78a8c630b139d3a9a30d3b731253565 (patch)
treec286e09ca0735068aeddeccd7545cb017c030a9c /system/helpers/path_helper.php
parente23ba1373b347ecca61c371c96f0e33da443e915 (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/helpers/path_helper.php')
0 files changed, 0 insertions, 0 deletions