Commit f9199e05 by Shu Fujita Committed by Andrew W. Lee

Fix AnnotateRoutes.extract_magic_comments_from_array (#712)

parent 9a7bd94f
......@@ -221,7 +221,7 @@ module AnnotateRoutes
magic_comments = []
new_content = []
content_array.map do |row|
content_array.each do |row|
if row =~ MAGIC_COMMENT_MATCHER
magic_comments << row.strip
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment