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