提交 dbd534a8 编写于 作者: L Lin Jen-Shin

Admin::RunnerProjectsController#index is not used

上级 5174d6c1
class Admin::RunnerProjectsController < Admin::ApplicationController
before_action :project, only: [:create]
def index
@runner_projects = project.runner_projects.all
@runner_project = project.runner_projects.new
end
def create
@runner = Ci::Runner.find(params[:runner_project][:runner_id])
......
......@@ -283,7 +283,7 @@ Rails.application.routes.draw do
post :repository_check
end
resources :runner_projects
resources :runner_projects, only: [:create, :destroy]
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册