Fix frozen string error

This commit is contained in:
Thong Kuah 2019-08-23 12:52:35 +12:00
parent c5acf26e06
commit a50703f1e6
1 changed files with 2 additions and 1 deletions

View File

@ -17,8 +17,9 @@ module Gitlab
return unless content
all_names.each do |a_name|
content.gsub!(%r{/#{a_name} ?(.*)$}i, execute_block(action_block, context, '\1'))
content = content.gsub(%r{/#{a_name} ?(.*)$}i, execute_block(action_block, context, '\1'))
end
content
end
end