1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-02 13:24:20 +01:00
fab-manager/app/views/api/notifications/_notify_member_about_coupon.json.jbuilder

6 lines
293 B
Plaintext
Raw Normal View History

2016-08-16 18:12:13 +02:00
json.title notification.notification_type
json.description t('.enjoy_a_discount_of_PERCENT_with_code_CODE',
PERCENT: notification.attached_object.percent_off,
CODE: notification.attached_object.code)
json.url notification_url(notification, format: :json)