remove respond_to html

This commit is contained in:
Pete Matsyburka committed 2026-09-23 11:00:18 +03:00
1 parent df7b3f9dfe
commit 6b6a917f60
1 file changed
-1
-1
View File
@@ -5,7 +5,6 @@ class SessionsController < Devise::SessionsController
skip_before_action :verify_authenticity_token, if: -> { request.xhr? && request.format.json? }
respond_to :html
respond_to :json, only: :create
around_action :with_browser_locale