Closed Tarrgon closed 5 months ago
I usually just mouseover the direct link to see the filename, but showing the MIME type probably isn't a bad thing. Especially since FA filenames frequently lie.
Yeah I suppose I could do that, this just happened to save more time lol
Sounds fine to do. You can Marcel::TYPE_EXTS[content_type].first
to get the extension which in theory also works for something like application/x-shockwave-flash
and also gives the more familiar jpg
. That's private API but whatever, existing tests should be good enough. Doing upcase
might look better since everything else there already is as well
Opened #123
On my local clone, I've added the mime type to show after the size, which I found to be very helpful in determining which duplicate to add to my backlog.
I was wondering if this would be worth adding directly to the app.
Forgive me if this is some wildly inefficient way of doing this, ruby is not my best language.