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

9 lines
487 B
Plaintext
Raw Normal View History

# frozen_string_literal: true
default_provider = AuthProvider.find_by(providable_type: DatabaseProvider.name).name
2016-03-23 18:39:41 +01:00
json.title notification.notification_type
2019-04-18 11:35:09 +02:00
json.description t('.account_imported_from_PROVIDER_UID_has_completed_its_information_html',
PROVIDER: notification.attached_object.provider || default_provider,
UID: notification.attached_object.uid || notification.attached_object.id)
json.url notification_url(notification, format: :json)