Commit 4f9b40cce305e45e1f684c64c7274530250ce66c

Authored by Laust Rud Jacobsen
1 parent 00b8969c
Exists in master and in 1 other branch production

Rubocop: fix ambiguous regexp literal / division

app/models/notification_services/flowdock_service.rb
@@ -31,7 +31,7 @@ if defined? Flowdock @@ -31,7 +31,7 @@ if defined? Flowdock
31 31
32 # can only contain alphanumeric characters and underscores 32 # can only contain alphanumeric characters and underscores
33 def project_name(problem) 33 def project_name(problem)
34 - problem.app.name.gsub /[^0-9a-z_]/i, '' 34 + problem.app.name.gsub(/[^0-9a-z_]/i, '')
35 end 35 end
36 36
37 def content(problem, url) 37 def content(problem, url)