scinote-web/app/views/access_permissions/protocols/show.json.jbuilder
2023-03-07 11:17:56 +01:00

12 lines
304 B
Ruby

# frozen_string_literal: true
json.modal controller.render_to_string(
partial: 'access_permissions/modals/show_modal',
formats: [:html],
locals: {
assignable: @protocol,
top_level_assignable: @protocol,
manually_assigned_users: @protocol.manually_assigned_users
},
layout: false
)