Welcome Guest, Not a member yet? Register   Sign In
remap sample? ... differents languages.


I'm trying to customize urls for differents languages.

In database I have saved differents "slugs" and as you can imaging, they are differents than controller function names.

I tried to include a function into routes.php to associate slug with controller function name but no success. I think it is not possible to add functions in routes.php file, isn't it?

So, the second option that I am investigating is the remap function.

But I don't understand the guide and with the guide example, I am not able to understand it and do what I want.

Can somebody share or explain better remap function code?

Thank you.

Theme © iAndrew 2016 - Forum software by © MyBB