1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-11 22:24:21 +01:00
fab-manager/app/views/api/notifications/_notify_admin_subscription_canceled.json.jbuilder
2019-06-12 15:49:35 +02:00

5 lines
278 B
Ruby

json.title notification.notification_type
json.description t('.USER_s_subscription_has_been_cancelled',
USER: notification.attached_object.user&.profile&.full_name || t('api.notifications.deleted_user'))
json.url notification_url(notification, format: :json)