mirror of
https://github.com/we-promise/sure.git
synced 2026-04-18 11:34:13 +00:00
budget_category: Drop override of subcategory? (#310)
This commit is contained in:
@@ -140,8 +140,4 @@ class BudgetCategory < ApplicationRecord
|
||||
.joins(:category)
|
||||
.where(categories: { parent_id: category.id })
|
||||
end
|
||||
|
||||
def subcategory?
|
||||
category.parent_id.present?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user