Commit 4127c89d
Changed files (3)
app
mailers
views
notification_mailer
app/mailers/notification_mailer.rb
@@ -4,6 +4,6 @@ class NotificationMailer < ActionMailer::Base
def notification_email(activity)
@user = activity.user
@activity = activity
- mail(to: @user.email, subject: "New Activity on CakeSide")
+ mail(to: @user.email, subject: "New Activity on CakeSide")
end
end
app/views/notification_mailer/notification_email.html.erb
@@ -6,7 +6,7 @@
<body>
<h1>Hi <%= @user.name %>,</h1>
<p>
- You have new activity. Click <%= link_to "here", dashboard_url %>
+ You have new notification. Click <%= link_to "here", dashboard_url %> to see.
</p>
<p>Have a wonderful day!</p>
</body>
app/views/notification_mailer/notification_email.text.erb
@@ -1,6 +1,6 @@
Hi <%= @user.name %>,
-You have new activity. Click <%= link_to "here", dashboard_url %>
+You have new notification. Click <%= link_to "here", dashboard_url %> to see.
Have a wonderful day!