@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... 😢
🤔 that’s strange. Tried running assets 1.x-dev? Maybe it’s something fixed but not yet released
good idea, will have to try it tomorrow now though
Is there a nice way of knowing whether a request is a backend request?
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
I can examine the URL for
admin/ but that seems like it's shouldn't be the right way!
Controller::curr() instanceof LeftAndMain always used to be the way
Probably won’t work for middleware though
I tried that, and was told that there is no current controller