diff --git a/app/controllers/concerns/exception_handler.rb b/app/controllers/concerns/exception_handler.rb index fa6415a8..42b7932b 100644 --- a/app/controllers/concerns/exception_handler.rb +++ b/app/controllers/concerns/exception_handler.rb @@ -32,7 +32,7 @@ module ExceptionHandler 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) end