Welcome Guest, Not a member yet? Register   Sign In
Activation Routes
#1

[eluser]xtremer360[/eluser]
After a user registers on my site they are sent an email containing a link to my activation controller. The link comprises of the siteurl.com/activation/$user_id/$activation_key. I'm trying to figure out if these are the proper routes I need for the activation page. I also included what the index function line starts with?

Code:
$route['activation/(:num)/(:any)'] = 'activation/index/$1/$2';
$route['activation/(:num)'] = 'activation/index/$1';
$route['activation'] = 'activation';

Code:
public function index( $user_id = NULL, $registration_key = NULL )


Messages In This Thread
Activation Routes - by El Forum - 08-10-2012, 11:59 AM
Activation Routes - by El Forum - 08-10-2012, 12:07 PM
Activation Routes - by El Forum - 08-10-2012, 12:28 PM
Activation Routes - by El Forum - 08-10-2012, 12:37 PM
Activation Routes - by El Forum - 08-10-2012, 12:40 PM
Activation Routes - by El Forum - 08-10-2012, 12:47 PM
Activation Routes - by El Forum - 08-10-2012, 01:43 PM
Activation Routes - by El Forum - 08-11-2012, 12:02 PM
Activation Routes - by El Forum - 08-11-2012, 09:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB