Enable JS in shared translatable test

Due to its markdown editor, the admin draft version page
requires JS to correctly render the draft version form.
This commit is contained in:
Marko Lovic
2018-08-29 16:35:40 +02:00
committed by Javi Martín
parent 05bfa193cd
commit 64d72ca8e7
5 changed files with 20 additions and 115 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]