From cfff97081248dd85b85cdee7a65eb3a8e451f6ad Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Mon, 27 Feb 2017 00:08:00 +0000 Subject: [PATCH] Revert "Intentionally making rubocop unhappy" This reverts commit 6e3f5f9d77fb4b3b81265665adea1e1b416469fe. --- app/helpers/notifications_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb index cef59c9c8..bb3695851 100644 --- a/app/helpers/notifications_helper.rb +++ b/app/helpers/notifications_helper.rb @@ -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)