app/helpers/decidim/proposals/application_helper.rb in decidim-proposals-0.16.0 vs app/helpers/decidim/proposals/application_helper.rb in decidim-proposals-0.16.1
- old
+ new
@@ -89,13 +89,9 @@
proposal: Proposal.where(component: current_component),
author: current_user
).count
end
- def current_user_proposals
- Proposal.where(component: current_component, author: current_user)
- end
-
def follow_button_for(model, large = nil)
render partial: "decidim/shared/follow_button.html", locals: { followable: model, large: large }
end
def votes_count_for(model, from_proposals_list)