Sha256: 61adf48959104d1fe52de0ed3253b00815ee5251cdf0884298f15f48697be507

Contents?: true

Size: 574 Bytes

Versions: 5

Compression:

Stored size: 574 Bytes

Contents

Rails.application.routes.draw do
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html

  get 'auth/:provider/callback' => 'sessions#create'

  resources :pipelines, only: [:show, :index]

  resources :projects do
    get 'jobs'
    get 'branches'
  end

  resources :jobs, only: [:index, :show]
  post 'jobs/pop'    => 'jobs#pop'
  post 'jobs/status' => 'jobs#job_status'

  get '/current_user' => 'users#current'
  get '/users' => 'users#index'
  get '/teams' => 'users#teams'

  post '/hooks/github' => 'hooks#github'

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jobs-api-0.2.1 config/routes.rb
jobs-api-0.2.0 config/routes.rb
jobs-api-0.1.2 config/routes.rb
jobs-api-0.1.1 config/routes.rb
jobs-api-0.1.0 config/routes.rb