summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2015-11-25 13:53:02 +0100
committerMarin Jankovski <maxlazio@gmail.com>2015-11-25 13:53:02 +0100
commit56135927273cfd722872e893abde3728f3b21d38 (patch)
treeb237a0205297ab248c2a8751979358b371162b0b /app
parent7da750cc30308173e6f21f570ecd5902dfd3d89d (diff)
downloadgitlab-ce-56135927273cfd722872e893abde3728f3b21d38.tar.gz
If action link is not found, return nil.
Diffstat (limited to 'app')
-rw-r--r--app/helpers/emails_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/emails_helper.rb b/app/helpers/emails_helper.rb
index 45788ba95ac..41b5bd7be90 100644
--- a/app/helpers/emails_helper.rb
+++ b/app/helpers/emails_helper.rb
@@ -28,6 +28,8 @@ module EmailsHelper
return "View #{action.humanize.singularize}"
end
end
+
+ nil
end
def color_email_diff(diffcontent)