diff --git a/app/views/protocols/index/_protocol_versions_modal.html.erb b/app/views/protocols/index/_protocol_versions_modal.html.erb index 989cda1ae..d68e97298 100644 --- a/app/views/protocols/index/_protocol_versions_modal.html.erb +++ b/app/views/protocols/index/_protocol_versions_modal.html.erb @@ -33,7 +33,10 @@
<% if can_publish_protocol_in_repository?(draft) %> - <%= button_to publish_protocol_path(draft), class: "btn btn-light publish-draft", method: :post do %> + <%= button_to publish_protocol_path(draft), + params: { view: 'show' }, + class: 'btn btn-light publish-draft', + method: :post do %> <%= image_tag 'icon_small/publish.svg' %> <%= t('protocols.index.versions.publish') %> <% end %>