Skip to content

Commit

Permalink
Merge pull request #131 from DanielJackson-Oslo/main
Browse files Browse the repository at this point in the history
Remove deprecation warning for inline_svg, as we intend to keep it in 2.0
  • Loading branch information
jamesmartin authored Nov 4, 2021
2 parents dc4ab2c + bfded03 commit 5e8e86d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/inline_svg/action_view/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5e8e86d

Please sign in to comment.