Skip to content

Commit 8a63a81

Browse files
committed
rubocop fixes
1 parent 6aefa13 commit 8a63a81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/helpers/better_together/image_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module ImageHelper
88
# rubocop:todo Metrics/AbcSize
99
def cover_image_tag(entity, options = {}) # rubocop:todo Metrics/MethodLength, Metrics/AbcSize
1010
image_classes = "cover-image rounded-top #{options[:class]}"
11-
image_style = (options[:style]).to_s
11+
image_style = options[:style].to_s
1212
image_width = options[:width] || 2400
1313
image_height = options[:height] || 600
1414
image_format = options[:format] || 'jpg'
@@ -45,7 +45,7 @@ def cover_image_tag(entity, options = {}) # rubocop:todo Metrics/MethodLength, M
4545
# rubocop:todo Metrics/AbcSize
4646
def profile_image_tag(entity, options = {}) # rubocop:todo Metrics/MethodLength, Metrics/AbcSize
4747
image_classes = "profile-image rounded-circle #{options[:class]}"
48-
image_style = (options[:style]).to_s
48+
image_style = options[:style].to_s
4949
image_size = options[:size] || 300
5050
image_format = options[:format] || 'jpg'
5151
image_alt = options[:alt] || 'Profile Image'

0 commit comments

Comments
 (0)