Welcome Guest, Not a member yet? Register   Sign In
Routing - ignore first segment
#10

laynebay, you are right, I have studied the documentation before turning here and it never mentions the ability to substitute the Controller with a placeholder. But purely technically speaking, it is a string and when CodeIgniter is capable of extracting the Controller and Method from a string it sure is capable of substituting the placeholders in any part of the definition.

If for any reason this is not supposed to be done, I will happily accept it and keep on the joyful experience of using CodeIgniter Wink but so far it looks more like it is supposed to work as mentioned by jreklund.
Reply


Messages In This Thread
Routing - ignore first segment - by Jan Zelenka - 07-15-2020, 03:52 AM
RE: Routing - ignore first segment - by abrar09 - 07-15-2020, 04:20 AM
RE: Routing - ignore first segment - by laynebay - 07-15-2020, 05:20 AM
RE: Routing - ignore first segment - by jreklund - 07-16-2020, 01:24 AM
RE: Routing - ignore first segment - by jreklund - 07-16-2020, 07:21 AM
RE: Routing - ignore first segment - by laynebay - 07-16-2020, 11:01 AM
RE: Routing - ignore first segment - by Jan Zelenka - 07-17-2020, 01:46 AM
RE: Routing - ignore first segment - by jreklund - 07-17-2020, 02:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB