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
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-10-03 17:09:57 +0300
committerRobert Speicher <rspeicher@gmail.com>2016-10-03 17:09:57 +0300
commit4a191c83d1db31aac16241dbf99ac45088efb99a (patch)
treec5035e58f55263a2d59a8b5cb606326056a13a58 /app/services/system_hooks_service.rb
parentdfb9cab828a11cf00522734d11c2472e8b540b5c (diff)
Enable Lint/StringConversionInInterpolation cop and autocorrect offenses
Diffstat (limited to 'app/services/system_hooks_service.rb')
-rw-r--r--app/services/system_hooks_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/system_hooks_service.rb b/app/services/system_hooks_service.rb
index 1fb72cf89e9..a2bfa422c9d 100644
--- a/app/services/system_hooks_service.rb
+++ b/app/services/system_hooks_service.rb
@@ -72,7 +72,7 @@ class SystemHooksService
return 'user_add_to_group' if event == :create
return 'user_remove_from_group' if event == :destroy
else
- "#{model.class.name.downcase}_#{event.to_s}"
+ "#{model.class.name.downcase}_#{event}"
end
end