release 可不登录下载

This commit is contained in:
xxq250 2024-06-21 15:46:47 +08:00
parent 4318e9acfa
commit 7f8aac4d28
1 changed files with 1 additions and 1 deletions

View File

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