Skip to content

Commit d35dac2

Browse files
committed
Fix frozen string error
1 parent 7b61411 commit d35dac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/helpers/application_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def bs_labeled_field(label, field, options = {})
7676
str = ''
7777
case type
7878
when :boolean
79-
str = '<label class="checkbox">'
79+
str = '<label class="checkbox">'.dup
8080
str << " #{field}#{label}"
8181
str << '</label>'
8282
else

0 commit comments

Comments
 (0)