fixed releases download不需要权限

This commit is contained in:
xxq250 2024-06-21 10:45:54 +08:00
parent 7767f4b262
commit 4318e9acfa
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ class VersionReleasesController < ApplicationController
before_action :load_repository
before_action :set_user
before_action :require_login, except: [:index, :show]
before_action :check_release_authorize, except: [:index, :show]
before_action :check_release_authorize, except: [:index, :show, :download]
before_action :find_version , only: [:show, :edit, :update, :destroy]
def index