Displaying 1 result from an estimated 1 matches for "analysis_receiv".
Did you mean:
analysis_received
2011 Jul 07
0
Rails3 Mailer html / text versions order
...le.com/login"
mail(:to => user.email,
:subject => "Welcome to My Awesome Site") do |format|
format.html { render ''another_template'' }
format.text { render ''another_template'' }
end
end
MY USER MAILER =======
def analysis_received(user_id, clip_id, request_id)
...... skipped lines ......
@template = "user_mailer/#{I18n.locale.to_s}/
analysis_received.erb"
mail(:to => @user[:email], :subject =>
"#{@request_type.capitalize}") do |format|
format.html { render :template =&...