mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 10:36:22 +00:00
parent
fc39a780ff
commit
65ed03e0eb
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ module ExceptionHandler
|
||||||
|
|
||||||
flash[:error] = I18n.t('errors.page_unauthorized')
|
flash[:error] = I18n.t('errors.page_unauthorized')
|
||||||
|
|
||||||
ExceptionNotifier.notify_exception(exception)
|
ExceptionNotifier.notify_exception(exception, data: { usuarie: current_usuarie.id })
|
||||||
|
|
||||||
redirect_to site_path(site)
|
redirect_to site_path(site)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue