From 7ff27997a7095a4e13654f5cbd6ee58e4449345f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baza=CC=81n?= Date: Tue, 10 Jan 2017 22:24:00 +0100 Subject: [PATCH] adds url for Budget::Investment to mailer_helper --- app/helpers/mailer_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/helpers/mailer_helper.rb b/app/helpers/mailer_helper.rb index ad6f042af..e541eebb6 100644 --- a/app/helpers/mailer_helper.rb +++ b/app/helpers/mailer_helper.rb @@ -3,6 +3,7 @@ module MailerHelper def commentable_url(commentable) return debate_url(commentable) if commentable.is_a?(Debate) return proposal_url(commentable) if commentable.is_a?(Proposal) + return budget_investment_url(commentable.budget_id, commentable) if commentable.is_a?(Budget::Investment) end end \ No newline at end of file