Skip to content

Commit b76fcea

Browse files
authored
Update recurring_select_helper.rb
1 parent 768d914 commit b76fcea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/helpers/recurring_select_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module RecurringSelectHelper
44
module FormHelper
5-
if Rails::VERSION::MAJOR == 4
5+
if Rails::VERSION::MAJOR == 4 || Rails::VERSION::MAJOR == 5
66
def select_recurring(object, method, default_schedules = nil, options = {}, html_options = {})
77
RecurringSelectTag.new(object, method, self, default_schedules, options, html_options).render
88
end

0 commit comments

Comments
 (0)