default controller route for mobile |
If you have chosen to go this path, then I would advise you move your "mobile detect" piece of code into your base controller(MY_Controller), and have all your controllers extend from it. This way no matter to which URL the user will navigate, your system will check for a mobile device and redirect accordingly.
Website: http://tomaz.lovrec.eu
GitHub: https://github.com/slax0rr Twitter: https://twitter.com/slax0rr |
Messages In This Thread |
default controller route for mobile - by nplaviola - 09-30-2015, 09:11 AM
RE: default controller route for mobile - by slax0r - 09-30-2015, 11:41 PM
RE: default controller route for mobile - by JayAdra - 10-01-2015, 02:25 AM
RE: default controller route for mobile - by nplaviola - 10-01-2015, 09:36 AM
RE: default controller route for mobile - by slax0r - 10-01-2015, 11:16 PM
RE: default controller route for mobile - by mwhitney - 10-05-2015, 10:40 AM
|