Hotfixing find the only budget for emails
This commit is contained in:
@@ -14,7 +14,7 @@ module Budgets
|
||||
private
|
||||
|
||||
def load_budget
|
||||
@budget = Budget.find_by(id: params[:budget_id])
|
||||
@budget = Budget.find_by(id: params[:budget_id]) || Budget.first
|
||||
end
|
||||
|
||||
def load_heading
|
||||
|
||||
Reference in New Issue
Block a user