BigW Consortium Gitlab

ci.rb 286 Bytes
Newer Older
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