scinote-web/app/views/access_permissions/my_modules/my_module_member.json.jbuilder
2023-03-07 14:04:05 +01:00

13 lines
328 B
Ruby

# frozen_string_literal: true
json.form controller.render_to_string(
partial: 'access_permissions/partials/member_field',
formats: [:html],
locals: {
user: @user_assignment.user,
update_path: access_permissions_my_module_path(@my_module),
with_inherit: true,
assignable: @my_module
},
layout: false
)