mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-05 04:03:45 +08:00
Merge pull request #7430 from artoscinote/ma_SCI_10592
Make sure current_user is set earlier in asset syncs controller [SCI-10592]
This commit is contained in:
commit
67f9c141fc
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