visd / VISD-Badges

VISD Badges
Other
0 stars 0 forks source link

Rewire view methods to accept /parent/:id/resource/:id #20

Closed argybarg closed 11 years ago

argybarg commented 11 years ago

There will be instances in which having access to the parent instance, as a sort of focusing context, will be useful. So no more chopping down URLs when they get to their fourth element.

At their fifth element, however, we do chop:

/parent/:id/resource/:id/forward

becomes

/parent/:id/resource, with parent => resource and resource =>forward.