Merge pull request #2912 from consul/backport-make-collaborative-legislation-translatable

Make collaborative legislation translatable
This commit is contained in:
Javier Martín
2018-09-24 17:45:59 +02:00
committed by GitHub
25 changed files with 347 additions and 64 deletions

View File

@@ -11,7 +11,7 @@ module ActionDispatch::Routing::UrlFor
[resource.investment.budget, resource.investment, resource]
when "Legislation::Annotation"
[resource.draft_version.process, resource.draft_version, resource]
when "Legislation::Proposal", "Legislation::Question"
when "Legislation::Proposal", "Legislation::Question", "Legislation::DraftVersion"
[resource.process, resource]
when "Topic"
[resource.community, resource]