mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-17 06:35:14 +08:00
15 lines
370 B
Text
15 lines
370 B
Text
|
# frozen_string_literal: true
|
||
|
|
||
|
json.modal controller.render_to_string(
|
||
|
partial: 'access_permissions/protocols/modals/edit_modal',
|
||
|
formats: [:html],
|
||
|
locals: {
|
||
|
protocol: @protocol,
|
||
|
update_path: access_permissions_protocol_path(@protocol),
|
||
|
new_resource_path: new_access_permissions_protocol_path(id: @protocol)
|
||
|
},
|
||
|
layout: false
|
||
|
)
|
||
|
|
||
|
json.flash @message
|