Yes, with some additional logic to handle the legacy URLs, make sure request.args(0) is an integer, etc.
On Monday, February 10, 2014 12:04:22 PM UTC-5, BlueShadow wrote: > > So my controller function would look something like this? > def Article(): > idstring=request.args(0) > /*seperate id out of /112/-Title-of-Article*/ > row=db(db.Article.id==id).select() > return dict(Article=row[0]) > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

