blog engine.
I seem to be getting along OK but have little idea how I can achieve nice
clean post title based urls mapped to my
getPostAction
E.g myblog.com/new-post-title & myblog.com/another-post-title Routes to
indexController getPostAction
What would be my best strategy
I understand I could use the _call method? Will this overide other routes I
have set up?
What route would I create? Would I just slipt the url in the call method
Would be grateful of some guidence
Many Thanks
Shaun
没有评论:
发表评论