Browse Source

Update user_mailer.rb

development
Godwin 8 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) def contact_details(from, subject, message, request, params)
@message = message @message = message
@subject = subject @subject = "Details for: \"#{subject}\""
@from = from.is_a?(Integer) ? User.find(from) : from @from = from.is_a?(Integer) ? User.find(from) : from
@request = request @request = request
@params = params @params = params

Loading…
Cancel
Save