Module: Spree::PreviewData::LocaleParam

Included in:
AdminUserPreview, ExportPreview, InvitationPreview, ReportPreview, WebhookPreview
Defined in:
lib/spree/core/previews/preview_data.rb

Overview

Include in ActionMailer::Preview subclasses to read the preview toolbar's locale dropdown (?locale=). The toolbar sends uppercase codes ("DE"), Spree locales are lowercase.