FIX 升级完善项目相关路由

This commit is contained in:
Jasder
2020-08-11 23:20:04 +08:00
parent 25a3c8a372
commit 6bd8095258
17 changed files with 284 additions and 246 deletions

View File

@@ -1,6 +1,6 @@
class VersionsController < ApplicationController
before_action :require_login, except: [:index, :show]
before_action :find_project_with_id
before_action :load_repository
before_action :check_issue_permission, except: [:show, :index]
before_action :set_version, only: [:edit, :update, :destroy, :show,:update_status]
@@ -166,4 +166,4 @@ class VersionsController < ApplicationController
end
end
end
end