Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ci.rb « routes « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 47a049d5b204381e417668808aebb9c79b201703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace :ci do
  # CI API
  Ci::API::API.logger Rails.logger
  mount Ci::API::API => '/api'

  resource :lint, only: [:show, :create]

  resources :projects, only: [:index, :show] do
    member do
      get :status, to: 'projects#badge'
    end
  end

  root to: 'projects#index'
end