scinote-web/app/views/access_permissions/my_modules/my_module_member.json.jbuilder
2021-05-22 14:41:56 +02:00

16 lines
650 B
Ruby

# 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,
update_path: access_permissions_project_experiment_my_module_path(@my_module_member.project,
@my_module_member.experiment,
@my_module_member.my_module)
},
layout: false
)