mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 21:21:50 +08:00
Make sure current_user is set earlier in asset syncs controller [SCI-10592]
This commit is contained in:
parent
e38ab63fa1
commit
bad4064288
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue