Skip to content

Commit b32d36e

Browse files
committed
Linter fixes
1 parent 2649342 commit b32d36e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/controllers/tools_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ def state_reps
133133
address = "#{params[:street_address]} #{params[:zipcode]}"
134134
@state_reps = CivicApi.state_rep_search(address, @email_campaign.leg_level)
135135

136-
# get first non-null email for a state rep
137-
@state_rep_email = @state_reps.map{|sr| sr["emails"] }.flatten.compact.first
136+
# Get first non-null email for a state rep
137+
@state_rep_email = @state_reps.map { |sr| sr["emails"] }.flatten.compact.first
138138

139139
unless @state_reps.present?
140140
render plain: "No representatives found", status: 200

0 commit comments

Comments
 (0)