mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-21 22:36:22 +00:00
fix: saber cuál ruta falló #17384
This commit is contained in:
parent
65ed03e0eb
commit
7acc79d5ff
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, data: { usuarie: current_usuarie.id })
|
ExceptionNotifier.notify_exception(exception, data: { usuarie: current_usuarie.id, path: request.fullpath })
|
||||||
|
|
||||||
redirect_to site_path(site)
|
redirect_to site_path(site)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue