Add related_paymentaccount in pins_controller under show. Modified view Show accordingly