Add email specs for Poll

This commit is contained in:
Angel Perez
2017-11-13 16:05:10 -04:00
parent 4c110e8100
commit 2bdc2c27d7
8 changed files with 48 additions and 23 deletions

View File

@@ -83,6 +83,8 @@ module CommonActions
debate_path(commentable)
elsif commentable.is_a?(Topic)
community_topic_path(commentable, community_id: commentable.community_id)
elsif commentable.is_a?(Poll)
poll_path(commentable)
else
budget_investment_path(commentable, budget_id: commentable.budget_id)
end