View more context

 

Makreig

@kinglozzer ok, so it appears that, despite extending DBFile (as it says to do in the docs), for some reason only Image has my new methods... 😢

kinglozzer

🤔 that’s strange. Tried running assets 1.x-dev? Maybe it’s something fixed but not yet released

Makreig

good idea, will have to try it tomorrow now though

dorsetdigital

Is there a nice way of knowing whether a request is a backend request?

dorsetdigital

I'm doing a bit of middleware, and it would be good to be able to distinguish between a front-end and back-end request

dorsetdigital

I can examine the URL for admin/ but that seems like it's shouldn't be the right way!

kinglozzer

Controller::curr() instanceof LeftAndMain always used to be the way

dorsetdigital

I tried that, and was told that there is no current controller