comparison app/helpers/application_helper.rb @ 171:90db232f39e7

Remove unused variable
author nanaya <me@nanaya.pro>
date Wed, 08 Aug 2018 20:19:51 +0900
parents 05ce14af003a
children df4be896ab8b
comparison
equal deleted inserted replaced
170:05ce14af003a 171:90db232f39e7
17 urls.flatten! 17 urls.flatten!
18 18
19 urls = urls.reduce({}) do |result, u| 19 urls = urls.reduce({}) do |result, u|
20 if u.try(:[], :url) 20 if u.try(:[], :url)
21 result[u[:url]] = u[:expanded_url] 21 result[u[:url]] = u[:expanded_url]
22 @any = 1
23 end 22 end
24 23
25 result 24 result
26 end 25 end
27 26