1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/views/api/notifications/_notify_member_create_reservation.json.jbuilder
2016-03-23 18:39:41 +01:00

5 lines
253 B
Ruby

json.title notification.notification_type
json.description t('.your_reservation_RESERVABLE_was_successfully_saved_html',
RESERVABLE: notification.attached_object.reservable.name)
json.url notification_url(notification, format: :json)