mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 02:04:33 +08:00
12 lines
364 B
Ruby
12 lines
364 B
Ruby
# frozen_string_literal: true
|
|
|
|
json.modal controller.render_to_string(
|
|
partial: 'access_permissions/modals/edit_modal',
|
|
formats: [:html],
|
|
locals: {
|
|
resource: @project,
|
|
update_path: access_permissions_project_path(@project, format: :json),
|
|
new_resource_path: new_access_permissions_project_path(id: @project, format: :json)
|
|
},
|
|
layout: false
|
|
)
|