Replace old open_phase? method for new phase/publication open? on Legislative Process

This commit is contained in:
Bertocq
2017-06-13 20:33:41 +02:00
parent 12dc7a4790
commit 523988a291
8 changed files with 9 additions and 9 deletions

View File

@@ -60,7 +60,7 @@
<section class="legislation-annotatable"
data-legislation-draft-version-id="<%= @draft_version.id %>"
data-legislation-annotatable-base-url="<%= legislation_process_draft_version_path(@process, @draft_version) %>"
data-legislation-open-phase="<%= @process.open_phase?(:allegations) %>"
data-legislation-open-phase="<%= @process.allegations_phase.open? %>"
>
<% end %>
<%= @draft_version.body_html.html_safe %>