Skip to content

Commit 7cf55e1

Browse files
committed
changed newlines to double spaces
1 parent 84dd468 commit 7cf55e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/controllers/messages_controller.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def handle_crime(address,number)
279279
sorted_crime_types = crimes_by_type.sort_by { |x, y| [ -y, x] }
280280
while sorted_crime_types[0]
281281
type = sorted_crime_types.shift
282-
summary = type.last.to_s + " " + type.first + "\n"
282+
summary = type.last.to_s + " " + type.first + " "
283283
# 141 minus 19 char for remainder message
284284
if crime_report.length + summary.length < 122
285285
crime_report << summary
@@ -295,7 +295,7 @@ def handle_crime(address,number)
295295
break
296296
end
297297
end
298+
# print crime_report
298299
message crime_report,number
299300
end
300-
301301
end

0 commit comments

Comments
 (0)