2021-04-18 23:19:16 +08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2023-01-23 05:23:18 +08:00
|
|
|
json.html controller.render_to_string(
|
2021-04-29 00:02:18 +08:00
|
|
|
partial: 'access_permissions/projects/modals/edit_modal',
|
2021-04-18 23:19:16 +08:00
|
|
|
formats: [:html],
|
2021-04-25 00:43:28 +08:00
|
|
|
locals: {
|
2021-04-29 00:02:18 +08:00
|
|
|
project: @project,
|
2021-06-27 15:45:32 +08:00
|
|
|
update_path: access_permissions_project_path(@project),
|
|
|
|
new_resource_path: new_access_permissions_project_path(id: @project)
|
2021-04-25 00:43:28 +08:00
|
|
|
},
|
2021-04-18 23:19:16 +08:00
|
|
|
layout: false
|
|
|
|
)
|
2021-04-29 00:02:18 +08:00
|
|
|
|
2021-04-30 19:26:06 +08:00
|
|
|
json.flash @message
|