仓库releases文件下载链接构建,文件后缀路由,直接下载
This commit is contained in:
parent
0dc4ecbfb8
commit
07a43120f2
|
@ -1,4 +1,5 @@
|
||||||
class VersionReleasesController < ApplicationController
|
class VersionReleasesController < ApplicationController
|
||||||
|
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]
|
||||||
|
|
Loading…
Reference in New Issue