debian-mirror-gitlab/config/routes/ci.rb

16 lines
286 B
Ruby
Raw Normal View History

2016-11-03 12:29:30 +05:30
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