scinote-web/app/views/access_permissions/projects/edit.json.jbuilder
2023-01-22 22:23:18 +01:00

14 lines
362 B
Ruby

# frozen_string_literal: true
json.html controller.render_to_string(
partial: 'access_permissions/projects/modals/edit_modal',
formats: [:html],
locals: {
project: @project,
update_path: access_permissions_project_path(@project),
new_resource_path: new_access_permissions_project_path(id: @project)
},
layout: false
)
json.flash @message