From e4f75fd26275bfa40064fa01e537d1cb4c7fde08 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Fri, 22 Aug 2014 10:21:04 +0200 Subject: Use one word per line in Gitlab::Blacklist --- lib/gitlab/blacklist.rb | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/gitlab/blacklist.rb b/lib/gitlab/blacklist.rb index 6bc2c3b487c..4a0155fb9db 100644 --- a/lib/gitlab/blacklist.rb +++ b/lib/gitlab/blacklist.rb @@ -3,7 +3,29 @@ module Gitlab extend self def path - %w(admin dashboard files groups help profile projects search public assets u s teams merge_requests issues users snippets services repository hooks notes) + %w( + admin + dashboard + files + groups + help + profile + projects + search + public + assets + u + s + teams + merge_requests + issues + users + snippets + services + repository + hooks + notes + ) end end end -- cgit v1.2.1 From abb415276f3854f09dc06f68523f10e927ecc5c3 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Fri, 22 Aug 2014 10:25:13 +0200 Subject: Add 'unsubscribes' to the paths blacklist GitLab EE has a /unsubscribes/ route. --- lib/gitlab/blacklist.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/gitlab/blacklist.rb b/lib/gitlab/blacklist.rb index 4a0155fb9db..a47d120dd21 100644 --- a/lib/gitlab/blacklist.rb +++ b/lib/gitlab/blacklist.rb @@ -25,6 +25,7 @@ module Gitlab repository hooks notes + unsubscribes ) end end -- cgit v1.2.1