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

12 lines
265 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/projects/modals/show_modal',
2021-04-18 23:19:16 +08:00
formats: [:html],
locals: {
resource: @project,
can_manage_resource: can_manage_project?(@project)
},
2021-04-18 23:19:16 +08:00
layout: false
)