Skip to content

Commit

Permalink
Update application_helper.rb whitespace removed
Browse files Browse the repository at this point in the history
  • Loading branch information
mjavurek authored Nov 21, 2024
1 parent 13c06e1 commit 41c6866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def format_currency(amount)
end

def format_currency_difference(amount)
class_name = amount < 0 ? 'negative_amount' : 'positive_green'
class_name = amount < 0 ? 'negative_amount' : 'positive_green'
content_tag :span, (amount > 0 ? '+' : '') + number_to_currency(amount), class: class_name
end

Expand Down

0 comments on commit 41c6866

Please sign in to comment.