Refactors set_investment_votes
This commit is contained in:
@@ -80,10 +80,6 @@ class ApplicationController < ActionController::Base
|
||||
@spending_proposal_votes = current_user ? current_user.spending_proposal_votes(spending_proposals) : {}
|
||||
end
|
||||
|
||||
def set_budget_investment_votes(budget_investments)
|
||||
@budget_investment_votes = current_user ? current_user.budget_investment_votes(budget_investments) : {}
|
||||
end
|
||||
|
||||
def set_comment_flags(comments)
|
||||
@comment_flags = current_user ? current_user.comment_flags(comments) : {}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user