Revert "When inserting Cat::Req::REST, always add trait, rather than sometimes using...
authort0m <bobtfish@bobtfish.net>
Mon, 22 Mar 2010 22:41:12 +0000 (22:41 +0000)
committert0m <bobtfish@bobtfish.net>
Mon, 22 Mar 2010 22:41:12 +0000 (22:41 +0000)
commitf560e0ae2a098a7179fac0f734b5376b69e7dce8
tree3cbbedc3b8b945d4c4b241057963ad22aa8dae46
parent960e29eed9ccd049c3c0dcd78a65308242a64ae0
Revert "When inserting Cat::Req::REST, always add trait, rather than sometimes using the Cat::Req::REST class directly."

This reverts commit 15f4af0ef06d11960e6cb9a4bbebf2ec1ac19a54.

This is because if we're always an anon class, then the dumped output is
HORRIBLE. Yes, we should fix the dumper to be Moose aware, but I also
have no problem with this logic as it used to be..
lib/Catalyst/Request/REST.pm
t/catalyst-traitfor-request-rest.t