app/controllers/dev/polls_controller.rb
Method create_activity_items
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def create_activity_items(discussion: , actor: )
# create poll
options = {poll: %w[apple turnip peach],
count: %w[yes no],
proposal: %w[agree disagree abstain block],