scinote-web/app/views/access_permissions/projects/edit.json.jbuilder

13 lines
364 B
Text
Raw Normal View History

2021-04-18 23:19:16 +08:00
# 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)
},
2021-04-18 23:19:16 +08:00
layout: false
)