Browse Source

Update user_mailer.rb

development
Godwin 9 years ago
committed by GitHub
parent
commit
302e364846
  1. 2
      app/mailers/user_mailer.rb

2
app/mailers/user_mailer.rb

@ -157,7 +157,7 @@ class UserMailer < ActionMailer::Base
def contact_details(from, subject, message, request, params)
@message = message
@subject = subject
@subject = "Details for: \"#{subject}\""
@from = from.is_a?(Integer) ? User.find(from) : from
@request = request
@params = params

Loading…
Cancel
Save