Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/initializers/assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in the app/assets
# folder are already added.
# Rails.application.config.assets.precompile += %w( admin.js admin.css )
Rails.application.config.assets.precompile += %w( admin.js admin.css foundation_emails.css )
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there might be a conflict w JP's PR around this, but i think we're fine

14 changes: 14 additions & 0 deletions spec/mailers/previews/contact_us_mailer_preview.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
class ContactUsMailerPreview < ActionMailer::Preview
def hello
contact_us = {
q: "general",
subject: "Test Subject",
from: "[email protected]",
first_name: "John",
last_name: "Doe",
agency: "Test Agency",
message: "This is a test message"
}
ContactUsMailer.hello(contact_us)
end
end