Commit 4127c89d

mo khan <mo@mokhan.ca>
2014-01-19 05:56:10
update text in notification email.
1 parent e0ce9c0
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!