BigW Consortium Gitlab

Commit dbd534a8 by Lin Jen-Shin

Admin::RunnerProjectsController#index is not used

parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment