summaryrefslogtreecommitdiff
path: root/lib/gitlab/email/handler/unsubscribe_handler.rb
diff options
context:
space:
mode:
authorBrett Walker <bwalker@gitlab.com>2018-12-28 11:53:39 -0700
committerBrett Walker <bwalker@gitlab.com>2019-01-03 14:37:35 -0600
commita4f2de796411236bfda81b7fa281cfa8199c5acf (patch)
treed1af8211ccae7ea525ca01f06c4993d4710c2771 /lib/gitlab/email/handler/unsubscribe_handler.rb
parent54eb6260e75690ec45802618a7e1b9807f0e7e08 (diff)
downloadgitlab-ce-a4f2de796411236bfda81b7fa281cfa8199c5acf.tar.gz
Refactoring and review comments
including verifying the project_slug
Diffstat (limited to 'lib/gitlab/email/handler/unsubscribe_handler.rb')
-rw-r--r--lib/gitlab/email/handler/unsubscribe_handler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/email/handler/unsubscribe_handler.rb b/lib/gitlab/email/handler/unsubscribe_handler.rb
index 7589658d2fe..20e4c125626 100644
--- a/lib/gitlab/email/handler/unsubscribe_handler.rb
+++ b/lib/gitlab/email/handler/unsubscribe_handler.rb
@@ -23,7 +23,7 @@ module Gitlab
end
def can_handle?
- @reply_token.present?
+ reply_token.present?
end
def execute