5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 01:26: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 # Forma de ingreso a Sutty
class ApplicationController < ActionController::Base class ApplicationController < ActionController::Base
include ExceptionHandler include ExceptionHandler if Rails.env.production?
include Pundit::Authorization include Pundit::Authorization
protect_from_forgery with: :null_session, prepend: true protect_from_forgery with: :null_session, prepend: true