Skip to content

Commit 1d98f94

Browse files
committed
Fix rails version comparision
1 parent 865061d commit 1d98f94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/mailers/policy_manager/application_mailer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class ApplicationMailer < ActionMailer::Base
66
# configurable mailer helpers
77
if Config.exporter.present?
88
Config.exporter.mail_helpers.each do |helpers|
9-
if Rails::VERSION::MAJOR > 6 && Rails::VERSION::MINOR > 0
9+
if Rails::VERSION::MAJOR >= 6 && Rails::VERSION::MINOR > 0
1010
helper(helpers)
1111
else
1212
add_template_helper(helpers)

0 commit comments

Comments
 (0)