diff options
author | John Hawthorn <john@hawthorn.email> | 2019-03-05 23:38:59 -0800 |
---|---|---|
committer | John Hawthorn <john@hawthorn.email> | 2019-03-14 11:33:48 -0700 |
commit | b5e8942c95078945ff09a83b2fc03a0ae7e35953 (patch) | |
tree | dc35e0dbd8f1b69b6d4770c94ca3454d2ad19f6f /actionview/lib/action_view/railtie.rb | |
parent | 43fc7b476b483a89dacf9964ccf288f6bc6e1595 (diff) | |
download | rails-b5e8942c95078945ff09a83b2fc03a0ae7e35953.tar.gz rails-b5e8942c95078945ff09a83b2fc03a0ae7e35953.tar.bz2 rails-b5e8942c95078945ff09a83b2fc03a0ae7e35953.zip |
Raise exception when building invalid mime type
This allows mime types in the form text/html, text/*, or */*
This required a few minor test/code changes where previously nil was
used as a mime string.
Diffstat (limited to 'actionview/lib/action_view/railtie.rb')
0 files changed, 0 insertions, 0 deletions