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

15 lines
362 B
Text
Raw Normal View History

2021-04-18 23:19:16 +08:00
# frozen_string_literal: true
json.html controller.render_to_string(
partial: 'access_permissions/projects/modals/edit_modal',
2021-04-18 23:19:16 +08:00
formats: [:html],
locals: {
project: @project,
update_path: access_permissions_project_path(@project),
new_resource_path: new_access_permissions_project_path(id: @project)
},
2021-04-18 23:19:16 +08:00
layout: false
)
2021-04-30 19:26:06 +08:00
json.flash @message