Make sure current_user is set earlier in asset syncs controller [SCI-10592]

This commit is contained in:
Martin Artnik 2024-04-04 15:10:40 +02:00
parent e38ab63fa1
commit bad4064288

View file

@ -5,7 +5,7 @@ class AssetSyncController < ApplicationController
skip_before_action :authenticate_user!, only: %i(update download)
skip_before_action :verify_authenticity_token, only: %i(update download)
before_action :authenticate_asset_sync_token!, only: %i(update download)
prepend_before_action :authenticate_asset_sync_token!, only: %i(update download)
before_action :check_asset_sync
def show