Fix call to undefined getCurrentRequest.

Per https://github.com/dingo/api/issues/225, FractalTransformer fails because there is no getCurrentRequest method. Here's one way to fix it, but maybe you had other thoughts...