Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenkati committed Jul 9, 2023
1 parent 783bdf2 commit c9bc72b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,3 @@ gem 'devise'
gem 'rails-controller-testing'
gem 'rspec-rails'
gem 'rubocop', '>= 1.0', '< 2.0'

2 changes: 1 addition & 1 deletion app/models/category.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Category < ApplicationRecord
'fa-truck-medical' => 'Medical Truck',
'fa-piggy-bank' => 'Piggy Bank',
'fa-credit-card' => 'Credit Card'
}.freeze
}.freeze

def total_amount
items.sum(:amount)
Expand Down

0 comments on commit c9bc72b

Please sign in to comment.