little fixes for deploy

This commit is contained in:
Connor Turland 2017-02-11 19:50:59 +00:00
parent 2d50f24be6
commit 2d0d0403b1
3 changed files with 3 additions and 2 deletions

View file

@ -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)

View file

@ -2,5 +2,6 @@
<div style="padding: 16px; background: white; text-align: left;">
<%= raw @notification.body %>
<p style="font-size: 12px;">Make sense with Metamaps</p>
<hr>
<%= render partial: 'shared/mailer_unsubscribe_link' %>
</div>

View file

@ -18,7 +18,7 @@ class NotificationIcon extends Component {
}
return (
<a className={linkClasses} href="/notifications">
<a className={linkClasses} href="/notifications" target="_blank">
<div className="tooltipsUnder">
Notifications
</div>