5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 20:56:22 +00:00

fix: recuperar de errores solo en producción

en desarrollo los queremos ver!
This commit is contained in:
f 2024-05-20 14:11:39 -03:00
parent 1624c62a12
commit 89f8022919
No known key found for this signature in database

View file

@ -2,7 +2,7 @@
# Forma de ingreso a Sutty
class ApplicationController < ActionController::Base
include ExceptionHandler
include ExceptionHandler if Rails.env.production?
include Pundit::Authorization
protect_from_forgery with: :null_session, prepend: true