Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorCindy Pallares 🦉 <cindy@gitlab.com>2018-10-20 00:01:39 +0300
committerDouwe Maan <douwe@gitlab.com>2018-10-20 00:01:39 +0300
commit8b8b2edb018bb88e64a1d024a3f9e45c29036600 (patch)
treed64de364a1604e2de5cb8761a58208c12e111c27 /app
parentec0199b8fa0abe203905e0abb3a5d5c4c0748688 (diff)
Resolve "/assign me quick action doesn't work if there is extra white space"
Diffstat (limited to 'app')
-rw-r--r--app/services/quick_actions/interpret_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/quick_actions/interpret_service.rb b/app/services/quick_actions/interpret_service.rb
index defa579f9a8..751aae2696d 100644
--- a/app/services/quick_actions/interpret_service.rb
+++ b/app/services/quick_actions/interpret_service.rb
@@ -643,7 +643,7 @@ module QuickActions
if users.empty?
users =
- if params == 'me'
+ if params.strip == 'me'
[current_user]
else
User.where(username: params.split(' ').map(&:strip))