Welcome Guest, Not a member yet? Register   Sign In
Question about route and pass values to method
#6

[eluser]Aken[/eluser]
Using parentheses in your routes creates something called a back reference - the $1, $2, etc... are back references to those specific parts of the matched route. If you use :num, :any, or a particular regular expression without the parentheses properly, there will be no reference to that part of the URL.


Messages In This Thread
Question about route and pass values to method - by El Forum - 02-25-2012, 03:52 PM
Question about route and pass values to method - by El Forum - 02-25-2012, 06:43 PM
Question about route and pass values to method - by El Forum - 02-25-2012, 11:16 PM
Question about route and pass values to method - by El Forum - 02-26-2012, 02:31 AM
Question about route and pass values to method - by El Forum - 02-26-2012, 02:39 PM
Question about route and pass values to method - by El Forum - 02-27-2012, 12:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB