thomshouse/escher — Issue #10: Add getPathByInstance shorthand to $router->resolvePath()
Author: thomshouse
Created: 2011-11-30 22:17:52+00:00
State: open
Labels: Feature Request

We devised a shorthand notation for using getPathByInstance as part of $router->resolvePath(). Shorthand is as follows:

@controller/123 => controller ; instance_id
@controller/action => controller ; action
@controller => controller

We can also attach it to getPathById():

@123 => (route) id