"Pretty" routing


Provide a static method for suggested "pretty" routing.

For example, the RouteConfig class may contain the following:
This would register short URLs for posts (eg. ~/p/123 would route to post with ID 123), tags (eg. ~/funny would route to a list of all posts with the tag "funny"). These are just suggestions - whatever is practical.


jaypeagi wrote Jul 8, 2013 at 4:16 PM

Other routes could go through /admin/{controller}/{home} and routes not configured explicitly configured could go through /pages. This should cover all bases.

jaypeagi wrote Jul 8, 2013 at 4:17 PM

Sorry, that should've read /admin/{controller}/{action} not /admin/{controller}/{home}

wrote Jul 9, 2013 at 12:52 PM