Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SVG file extension to the image detection method #2533

Merged
merged 1 commit into from
Feb 4, 2016
Merged

Add SVG file extension to the image detection method #2533

merged 1 commit into from
Feb 4, 2016

Conversation

uiltondutra
Copy link
Contributor

Detect SVG file uploads as images and present them properly on the interface.

@mshibuya
Copy link
Member

Test needed!

@bbenezech
Copy link
Collaborator

@mshibuya test not really needed, this is just a smart default to show or hide image in the show/list views. Since all browsers can show it, it's good enough I think.

When RailsAdmin was created, SVG wasn't really a thing yet 👴
@uiltondutra thanks

bbenezech added a commit that referenced this pull request Feb 4, 2016
…ct_svg

Add SVG file extension to the image detection method
@bbenezech bbenezech merged commit 1ff702b into railsadminteam:master Feb 4, 2016
@uiltondutra
Copy link
Contributor Author

Thanks for the merge @bbenezech. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants