Apply Rails/SafeNavigation rubocop rule
This commit is contained in:
@@ -59,7 +59,7 @@ class Legislation::Proposal < ApplicationRecord
|
||||
{ title => "A",
|
||||
author.username => "B",
|
||||
tag_list.join(" ") => "B",
|
||||
geozone.try(:name) => "B",
|
||||
geozone&.name => "B",
|
||||
summary => "C",
|
||||
description => "D" }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user