fixed releases download不需要权限
This commit is contained in:
parent
7767f4b262
commit
4318e9acfa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue