scinote-web/app/views/access_permissions/my_modules/my_module_member.json.jbuilder

17 lines
650 B
Text
Raw Normal View History

2021-05-09 22:59:10 +08:00
# frozen_string_literal: true
json.form controller.render_to_string(
partial: 'access_permissions/partials/my_module_member_field',
formats: [:html],
locals: {
user: @my_module_member.user,
experiment: @my_module_member.experiment,
my_module: @my_module_member.my_module,
project: @my_module_member.project,
2021-05-22 20:41:56 +08:00
update_path: access_permissions_project_experiment_my_module_path(@my_module_member.project,
@my_module_member.experiment,
@my_module_member.my_module)
2021-05-09 22:59:10 +08:00
},
layout: false
)