Welcome Guest, Not a member yet? Register   Sign In
I need some help understanding routes
#1

[eluser]matches[/eluser]
Hello all,

I have a blog with a url that looks like this:

/blog/index/2/6

the /2/ is the blog ID and /6 is the page.

I want the /2/ to be the title of the blog entry. Is this something that is supposed to be done in the routes file or can I do it in my controller? Either way, how is done?

Thanks,


Messages In This Thread
I need some help understanding routes - by El Forum - 08-06-2011, 10:55 PM
I need some help understanding routes - by El Forum - 08-06-2011, 11:58 PM
I need some help understanding routes - by El Forum - 08-07-2011, 12:13 PM
I need some help understanding routes - by El Forum - 08-07-2011, 02:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB