5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2025-03-14 17:08:21 +00:00

Merge branch 'issue-17343' into production.panel.sutty.nl

This commit is contained in:
f 2024-12-18 15:14:44 -03:00
commit 69e444ae27
No known key found for this signature in database

View file

@ -22,7 +22,7 @@ module ExceptionHandler
flash[:error] = I18n.t('errors.site_not_found') flash[:error] = I18n.t('errors.site_not_found')
ExceptionNotifier.notify_exception(exception) ExceptionNotifier.notify_exception(exception, data: { usuarie: current_usuarie&.id, path: request.fullpath })
redirect_to sites_path redirect_to sites_path
end end
@ -32,7 +32,7 @@ module ExceptionHandler
flash[:error] = I18n.t('errors.page_unauthorized') flash[:error] = I18n.t('errors.page_unauthorized')
ExceptionNotifier.notify_exception(exception, data: { usuarie: current_usuarie.id, path: request.fullpath }) ExceptionNotifier.notify_exception(exception, data: { usuarie: current_usuarie&.id, path: request.fullpath })
redirect_to site_path(site) redirect_to site_path(site)
end end