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:
parent
1624c62a12
commit
89f8022919
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue