We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4519490 commit cf0eb8dCopy full SHA for cf0eb8d
example_app_generator/spec/support/default_preview_path
@@ -69,7 +69,7 @@ exit(0) if ENV['NO_ACTION_MAILER']
69
if ENV['DEFAULT_URL']
70
puts ActionMailer::Base.default_url_options[:host]
71
elsif defined?(::ActionMailer::Preview)
72
- if Rails::VERSION::STRING.start_with?('7.1')
+ if Rails::VERSION::STRING.to_f >= 7.1
73
puts Rails.application.config.action_mailer.preview_paths
74
else
75
puts Rails.application.config.action_mailer.preview_path
0 commit comments