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 allowed_types to content_type_whitelist_error #2270

Conversation

mhluska
Copy link
Contributor

@mhluska mhluska commented Jan 16, 2018

We already do this in extension_whitelist.rb so this just matches the functionality.

We already do this in extension_whitelist.rb so this just matches the functionality.
@mshibuya
Copy link
Member

Looks good, but we need a test case which covers this feature.

Copy link

@jedrekdomanski jedrekdomanski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find it useful. Can you add specs so that they can merge your changes?

@mhluska
Copy link
Contributor Author

mhluska commented Oct 15, 2018

@mshibuya @jedrekdomanski I added the test now.

@jedrekdomanski
Copy link

Looks good to me

@mshibuya mshibuya merged commit 6c7b126 into carrierwaveuploader:master Oct 17, 2018
@mshibuya
Copy link
Member

Great, thanks!

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