Skip to content

Commit ff4f7ff

Browse files
authored
Merge pull request #312 from mikenicklas/master
Fix ambiguous first argument warning
2 parents 5418ccf + a672294 commit ff4f7ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Features:
99
## [2.6.0][] (2017-02-03)
1010

1111
Bugfixes:
12-
- None
12+
- Fix ambiguous first argument warning (#311, @mikenicklas)
1313

1414
Features:
1515
- Add a FormBuilder#custom_control helper [#289](https://github.com/bootstrap-ruby/rails-bootstrap-forms/pull/289)

lib/bootstrap_form/helpers/bootstrap.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def prepend_and_append_input(options, &block)
7979
end
8080

8181
def input_group_class(add_on_content)
82-
if add_on_content.match /btn/
82+
if add_on_content.match(/btn/)
8383
'input-group-btn'
8484
else
8585
'input-group-addon'

0 commit comments

Comments
 (0)