FIX: don't preload json on static routes
This commit is contained in:
parent
c30ccceade
commit
3937ff0425
|
@ -5,6 +5,7 @@ class StaticController < ApplicationController
|
|||
|
||||
skip_before_action :check_xhr, :redirect_to_login_if_required
|
||||
skip_before_action :verify_authenticity_token, only: [:brotli_asset, :cdn_asset, :enter, :favicon, :service_worker_asset]
|
||||
skip_before_action :preload_json, only: [:brotli_asset, :cdn_asset, :enter, :favicon, :service_worker_asset]
|
||||
|
||||
PAGES_WITH_EMAIL_PARAM = ['login', 'password_reset', 'signup']
|
||||
|
||||
|
|
Loading…
Reference in New Issue