release 可不登录下载
This commit is contained in:
parent
4318e9acfa
commit
7f8aac4d28
|
@ -2,7 +2,7 @@ class VersionReleasesController < ApplicationController
|
||||||
include ApplicationHelper
|
include ApplicationHelper
|
||||||
before_action :load_repository
|
before_action :load_repository
|
||||||
before_action :set_user
|
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 :check_release_authorize, except: [:index, :show, :download]
|
||||||
before_action :find_version , only: [:show, :edit, :update, :destroy]
|
before_action :find_version , only: [:show, :edit, :update, :destroy]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue