[Cubicweb] Pyramid and REST
rabahmeradi at gmail.com
Mon Jun 8 17:35:14 CEST 2015
Sorry I skipped that part.
2015-06-08 17:27 GMT+02:00 Christophe de Vienne <christophe at unlish.com>:
> Le 08/06/2015 16:36, Rabah Meradi a écrit :
> >> Basically: lots of routes where one should suffice. It bloats the routes
> >> namespace. It would make it a pain to use a different prefix for
> > Lots of routes to assure that we only have routes for existing etype. If
> > 'some_etype' doesn't exist the view will not respond to the url
> > 'some_etype/eid.
> > It's Sylvain that suggested to do it like that, perhaps he could detail
> > his reasons.
> The proper way is to use a predicate (see the code I posted earlier).
> Cubicweb mailing list
> Cubicweb at lists.cubicweb.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cubicweb