Routes: how to get mycontroller/id function same as mycontroller/action/id |
[eluser]marcoss[/eluser]
[quote author="dreamynsx" date="1192829171"] Code: // my sample class with index action You should rewrite that like this, Code: class MyController extends Controller Then you get http://site.com/cars/id/3. |
Welcome Guest, Not a member yet? Register Sign In |