diff options
author | Cindy Pallares 🦉 <cindy@gitlab.com> | 2018-10-19 21:01:39 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-10-19 21:01:39 +0000 |
commit | 8b8b2edb018bb88e64a1d024a3f9e45c29036600 (patch) | |
tree | d64de364a1604e2de5cb8761a58208c12e111c27 /app/services | |
parent | ec0199b8fa0abe203905e0abb3a5d5c4c0748688 (diff) | |
download | gitlab-ce-8b8b2edb018bb88e64a1d024a3f9e45c29036600.tar.gz |
Resolve "/assign me quick action doesn't work if there is extra white space"
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/quick_actions/interpret_service.rb | 2 |
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)) |