Add mockup new_supplier mail code

This commit is contained in:
2015-10-02 17:50:15 +02:00
parent 79eb85a68f
commit 20bc21f87f
5 changed files with 17 additions and 4 deletions
@@ -0,0 +1,5 @@
h3 New supplier
p There is a new supplier
pre= @supplier.as_json.to_yaml
p Created by employee
pre= @employee.as_json.to_yaml
+1 -1
View File
@@ -1,5 +1,5 @@
h3 New feedback received:
b User info
pre= @user_feedback.user.try(:attributes).try(:to_yaml)
pre= @user_feedback.user.try(:attributes).try(:as_json).try(:to_yaml)
b Feedback info
pre= @user_feedback.content