diff --git a/app/controllers/asset_sync_controller.rb b/app/controllers/asset_sync_controller.rb index 855bfba53..8823fa845 100644 --- a/app/controllers/asset_sync_controller.rb +++ b/app/controllers/asset_sync_controller.rb @@ -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