diff --git a/app/helpers/welcome_helper.rb b/app/helpers/welcome_helper.rb index 0694bf6bd..9f734eb2e 100644 --- a/app/helpers/welcome_helper.rb +++ b/app/helpers/welcome_helper.rb @@ -14,8 +14,6 @@ module WelcomeHelper debate_path(recommended) when "Proposal" proposal_path(recommended) - when "Budget::Investment" - budget_investment_path(budget_id: recommended.budget.id, id: recommended.id) else '#' end @@ -53,8 +51,4 @@ module WelcomeHelper end end - def display_recommendeds(debates, proposals) - debates.any? || proposals.any? - end - end diff --git a/app/views/welcome/_recommended_carousel.html.erb b/app/views/welcome/_recommended_carousel.html.erb index e711f352c..8291c1d06 100644 --- a/app/views/welcome/_recommended_carousel.html.erb +++ b/app/views/welcome/_recommended_carousel.html.erb @@ -5,8 +5,10 @@