'Proposals' feature can be enabled/disabled

Fixes #1886
This commit is contained in:
Angel Perez
2017-09-21 10:11:00 -04:00
committed by Angel Perez
parent bb1e5e4608
commit ab9d612128
18 changed files with 70 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
<%= render "following" if @follows.present? %>
<%= render "proposals" if @proposals.present? %>
<%= render "proposals" if @proposals.present? && feature?(:proposals) %>
<%= render "debates" if @debates.present? && feature?(:debates) %>
<%= render "budget_investments" if @budget_investments.present? && feature?(:budgets) %>
<%= render "comments" if @comments.present? %>