diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-10-03 17:09:57 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-10-03 17:09:57 +0300 |
commit | 4a191c83d1db31aac16241dbf99ac45088efb99a (patch) | |
tree | c5035e58f55263a2d59a8b5cb606326056a13a58 /app/services/system_hooks_service.rb | |
parent | dfb9cab828a11cf00522734d11c2472e8b540b5c (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.rb | 2 |
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 |