mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-19 09:36:47 +10:00
Admin::RunnerProjectsController#index is not used
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
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])
|
||||
|
||||
|
||||
+1
-1
@@ -283,7 +283,7 @@ Rails.application.routes.draw do
|
||||
post :repository_check
|
||||
end
|
||||
|
||||
resources :runner_projects
|
||||
resources :runner_projects, only: [:create, :destroy]
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user