]> git.openstreetmap.org Git - rails.git/commitdiff
Fix rubocop warnings
authorTom Hughes <tom@compton.nu>
Wed, 5 Sep 2018 18:33:54 +0000 (19:33 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 5 Sep 2018 18:33:54 +0000 (19:33 +0100)
app/views/changeset/index.atom.builder

index 801b9cd398852e0e44223edb41359aa67fea8879..57befe117b5e39e9f726221f453eae66db277eaf 100644 (file)
@@ -59,10 +59,10 @@ atom_feed(:language => I18n.locale, :schema_date => 2009,
             table.tr do |tr|
               tr.th t("browse.tag_details.tags")
               tr.td do |td|
             table.tr do |tr|
               tr.th t("browse.tag_details.tags")
               tr.td do |td|
-                td.table :cellpadding => "0" do |table|
+                td.table :cellpadding => "0" do |tag_table|
                   changeset.tags.sort.each do |tag|
                   changeset.tags.sort.each do |tag|
-                    table.tr do |tr|
-                      tr.td << "#{h(tag[0])} = #{linkify(h(tag[1]))}"
+                    tag_table.tr do |tag_tr|
+                      tag_tr.td << "#{h(tag[0])} = #{linkify(h(tag[1]))}"
                     end
                   end
                 end
                     end
                   end
                 end