lib/decidim/budgets/workflows/all.rb in decidim-budgets-0.26.7 vs lib/decidim/budgets/workflows/all.rb in decidim-budgets-0.26.8
- old
+ new
@@ -9,10 +9,10 @@
def highlighted?(_resource)
false
end
# Users can vote in all budgets with this workflow.
- def vote_allowed?(resource, _consider_progress: true)
+ def vote_allowed?(resource, consider_progress: true) # rubocop:disable Lint/UnusedMethodArgument
!voted?(resource)
end
end
end
end