On Apr 11, 2008, at 1:33 PM, Christopher H. Laco wrote:
/tag/name/<name>
/tag/id/<id>

The greatness of future possibilities is expanded to much happiness. Chained/sub instance() make all the code behind either option JustWork.

claco (I just like writing it) ++. This is mostly how I do it and for admin functions I redirect to the id version. /tag/name/<name> going to its id at /tag/id/<id>/edit as only the id is immutable for the record. Well, tags are a bad example for this but an article name can certainly change.


_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to