aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2016-01-16 13:17:59 -0500
committerJon Moss <me@jonathanmoss.me>2016-01-17 12:20:52 -0500
commit98076af2ef1774863635191b3d4ea19575b5f832 (patch)
tree8d94cce35fb984b59f46d13df3f1a197df633891 /actionview/lib/action_view/helpers
parent2683dcc60ecbdb328bb213b20b7165a332b9d12e (diff)
downloadrails-98076af2ef1774863635191b3d4ea19575b5f832.tar.gz
rails-98076af2ef1774863635191b3d4ea19575b5f832.tar.bz2
rails-98076af2ef1774863635191b3d4ea19575b5f832.zip
Remove ActionView dependence on ActionPack's Mime implementation
Diffstat (limited to 'actionview/lib/action_view/helpers')
-rw-r--r--actionview/lib/action_view/helpers/asset_tag_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/asset_tag_helper.rb b/actionview/lib/action_view/helpers/asset_tag_helper.rb
index 91e934cd64..cc54faa778 100644
--- a/actionview/lib/action_view/helpers/asset_tag_helper.rb
+++ b/actionview/lib/action_view/helpers/asset_tag_helper.rb
@@ -136,7 +136,7 @@ module ActionView
tag(
"link",
"rel" => tag_options[:rel] || "alternate",
- "type" => tag_options[:type] || Mime[type].to_s,
+ "type" => tag_options[:type] || Template::Types[type].to_s,
"title" => tag_options[:title] || type.to_s.upcase,
"href" => url_options.is_a?(Hash) ? url_for(url_options.merge(:only_path => false)) : url_options
)