Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Use new mailer config preview path syntax

Dombi Attila4bab7c4d9939
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 19fc0c3dbd6..01d16087bcf 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -111,7 +111,7 @@ Rails.application.configure do
config.action_mailer.delivery_method = :letter_opener
# Set email preview locations to rspec
- config.action_mailer.preview_path = Rails.root.join('spec/mailers/previews')
+ config.action_mailer.preview_paths << Rails.root.join('spec/mailers/previews')
config.hosts << 'bs-local.com' if ENV['OPENPROJECT_DISABLE_DEV_ASSET_PROXY'].present?