Skip to content

Commit

Permalink
Update recurring_select_helper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasc authored Apr 12, 2017
1 parent 768d914 commit b76fcea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/recurring_select_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module RecurringSelectHelper
module FormHelper
if Rails::VERSION::MAJOR == 4
if Rails::VERSION::MAJOR == 4 || Rails::VERSION::MAJOR == 5
def select_recurring(object, method, default_schedules = nil, options = {}, html_options = {})
RecurringSelectTag.new(object, method, self, default_schedules, options, html_options).render
end
Expand Down

0 comments on commit b76fcea

Please sign in to comment.