diff --git a/app/services/follow_service.rb b/app/services/follow_service.rb index 4fa6dd9d..22a1786d 100644 --- a/app/services/follow_service.rb +++ b/app/services/follow_service.rb @@ -4,7 +4,7 @@ class FollowService def self.follow(entity, user, reason) - #return unless is_tester(user) + return unless is_tester(user) follow = Follow.where(followed: entity, user: user).first_or_create if FollowReason::REASONS.include?(reason) && !follow.follow_reason.read_attribute(reason) diff --git a/app/views/mailboxer/notification_mailer/new_notification_email.html.erb b/app/views/mailboxer/notification_mailer/new_notification_email.html.erb index ad90419f..f0f0e44b 100644 --- a/app/views/mailboxer/notification_mailer/new_notification_email.html.erb +++ b/app/views/mailboxer/notification_mailer/new_notification_email.html.erb @@ -2,5 +2,6 @@
<%= raw @notification.body %>

Make sense with Metamaps

+
<%= render partial: 'shared/mailer_unsubscribe_link' %>
diff --git a/frontend/src/components/NotificationIcon.js b/frontend/src/components/NotificationIcon.js index e7225f04..201020b5 100644 --- a/frontend/src/components/NotificationIcon.js +++ b/frontend/src/components/NotificationIcon.js @@ -18,7 +18,7 @@ class NotificationIcon extends Component { } return ( - +
Notifications