Routes Issue

#7
[eluser]Dam1an[/eluser]
Oh, right, I assumed seeing as you where passing something into index and said you wanted to get rid og function name, you where doing some huge switch in your index function

So assuming you have a function call search_by_category, you could use
Code:
$route['(en|fr|de|etc)/auction/(:any)'] = 'auction/search_by_category/$2';
Where $2 is the category in the URL


Messages In This Thread
Routes Issue - by El Forum - 05-19-2009, 04:59 AM
Routes Issue - by El Forum - 05-19-2009, 05:03 AM
Routes Issue - by El Forum - 05-19-2009, 06:23 AM
Routes Issue - by El Forum - 05-19-2009, 07:40 AM
Routes Issue - by El Forum - 05-19-2009, 07:40 AM
Routes Issue - by El Forum - 05-19-2009, 07:44 AM
Routes Issue - by El Forum - 05-19-2009, 07:51 AM
Routes Issue - by El Forum - 05-19-2009, 07:54 AM
Routes Issue - by El Forum - 05-19-2009, 08:04 AM
Routes Issue - by El Forum - 05-19-2009, 11:58 PM
Routes Issue - by El Forum - 05-20-2009, 01:50 AM
Routes Issue - by El Forum - 05-20-2009, 02:42 AM
Routes Issue - by El Forum - 05-20-2009, 02:51 AM
Routes Issue - by El Forum - 05-20-2009, 02:53 AM
Routes Issue - by El Forum - 05-20-2009, 02:59 AM
Routes Issue - by El Forum - 05-20-2009, 03:03 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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