Add email specs for Topic

This commit is contained in:
Angel Perez
2017-11-13 08:46:56 -04:00
parent 3605a43947
commit 4c110e8100
5 changed files with 46 additions and 2 deletions

View File

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