Revert "Intentionally making rubocop unhappy"

This reverts commit 6e3f5f9d77fb4b3b81265665adea1e1b416469fe.
This commit is contained in:
Brenda Wallace
2017-02-27 00:08:00 +00:00
parent 0db8c2feb2
commit cfff970812

View File

@@ -2,7 +2,7 @@ module NotificationsHelper
def reply_link(notification)
if notification.post
# comment on the post in question
new_comment_url(:post_id => notification.post.id)
new_comment_url(post_id: notification.post.id)
else
# by default, reply link sends a PM in return
reply_notification_url(notification)