Add missing legislation proposal commentable path

This commit is contained in:
Bertocq
2018-02-03 13:29:11 +01:00
parent d5c7565b31
commit ea089c1b87

View File

@@ -52,6 +52,8 @@ module CommentsHelper
legislation_process_draft_version_annotation_path(commentable.draft_version.process, commentable.draft_version, commentable)
when "Topic"
community_topic_path(commentable.community, commentable)
when "Legislation::Proposal"
legislation_process_proposal_path(commentable.legislation_process_id, commentable)
else
commentable
end