Skip to content

Commit 265f5a9

Browse files
committed
deprecate refinery_icon_tag helper for refinery version 5.1
1 parent 830ba2f commit 265f5a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/app/helpers/refinery/tag_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def refinery_help_tag(title='Tip')
1212
# This is just a quick wrapper to render an image tag that lives inside refinery/icons.
1313
# They are all 16x16 so this is the default but is able to be overriden with supplied options.
1414
def refinery_icon_tag(filename, options = {})
15-
Refinery.deprecate('Refinery::TagHelper.refinery_icon_tag', when: '4.1', replacement: 'Refinery::TagHelper.action_icon')
15+
Refinery.deprecate('Refinery::TagHelper.refinery_icon_tag', when: '5.1', replacement: 'Refinery::TagHelper.action_icon')
1616

1717
filename = "#{filename}.png" unless filename.split('.').many?
1818
path = image_path "refinery/icons/#{filename}", skip_pipeline: true

0 commit comments

Comments
 (0)