• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
program redirect of links

#6
(10-01-2015, 07:14 AM)mwhitney Wrote: You could also use a _remap() function in your controller to lookup the correct information and perform the redirect.

Not really in this case. If you visit id/2 and you do not have a controller named id and method named 2, the router will not know to which controller to route to, and fail to hit your _remap() in your base controller.
Reply


Messages In This Thread
program redirect of links - by Andryshok - 09-30-2015, 11:25 PM
RE: program redirect of links - by InsiteFX - 10-01-2015, 03:48 AM
RE: program redirect of links - by Andryshok - 10-01-2015, 04:01 AM
RE: program redirect of links - by slax0r - 10-01-2015, 05:58 AM
RE: program redirect of links - by mwhitney - 10-01-2015, 07:14 AM
RE: program redirect of links - by slax0r - 10-01-2015, 11:06 PM
RE: program redirect of links - by mwhitney - 10-02-2015, 09:24 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.