From bfded036e805cc62512356395c68492e96c793f1 Mon Sep 17 00:00:00 2001 From: Daniel Jackson Date: Fri, 29 Oct 2021 15:55:14 +0200 Subject: [PATCH] Remove deprecation warning for inline_svg, as we intend to keep it in 2.0 --- lib/inline_svg/action_view/helpers.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/inline_svg/action_view/helpers.rb b/lib/inline_svg/action_view/helpers.rb index 882648b..59674f4 100644 --- a/lib/inline_svg/action_view/helpers.rb +++ b/lib/inline_svg/action_view/helpers.rb @@ -17,10 +17,6 @@ def inline_svg_pack_tag(filename, transform_params={}) end def inline_svg(filename, transform_params={}) - ActiveSupport::Deprecation.warn( - '`inline_svg` is deprecated and will be removed from inline_svg 2.0 (use `inline_svg_tag` or `inline_svg_pack_tag` instead)' - ) - render_inline_svg(filename, transform_params) end