Fix frozen string error
This commit is contained in:
parent
c5acf26e06
commit
a50703f1e6
|
@ -17,8 +17,9 @@ module Gitlab
|
||||||
return unless content
|
return unless content
|
||||||
|
|
||||||
all_names.each do |a_name|
|
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
|
end
|
||||||
|
|
||||||
content
|
content
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue