仓库releases文件下载链接构建,文件后缀路由,直接下载

This commit is contained in:
xxq250 2024-04-16 10:02:07 +08:00
parent 0dc4ecbfb8
commit 07a43120f2
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
class VersionReleasesController < ApplicationController
include ApplicationHelper
before_action :load_repository
before_action :set_user
before_action :require_login, except: [:index, :show]